Skip to content

struct2table error #105

@sarahcd

Description

@sarahcd

I have gotten this struct2table error several times (example below). The latest time, I think it was because the "variable to animate" in the gridded colormap tab was automatically set to crs when I loaded the file, and I forgot to select the environmental attribute. Improvements could include

  • don't automatically choose a variable from the .nc and guide the user to select one, or auto-select a name other than crs/time/lat/long
  • improve the error message

Error message
Error using struct2table
Input structure must be a scalar structure, or a structure array with one
column or one row.

Error in unpack_netcdf (line 15)

Error in generate_frame (line 48)

Error in animate_tracks (line 85)

Error in animator/CreateanimationButtonPushed (line 565)

Error in appdesigner.internal.service.AppManagementService/executeCallback (line 171)

Error in matlab.apps.AppBase>@(source,event)executeCallback(ams,app,callback,requiresEventData,event) (line 62)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions