brace indexing is not supported for variables of this type.

asked 2022-09-14 14:02:40 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >5 is welcome to improve it.

Hi All, I am just starting the toolbox and while trying .make_grid' it shows the error as below, I really dont understand...can you help me.


Unable to perform assignment because brace indexing is not supported for variables of this type.

Error in create_grid (line 61) nw{'xl'} = ncdouble('one');

Error in easy>pushbutton4_Callback (line 345) create_grid(nx+1,ny+1,grdname,CROCO_title) % create grid file

Error in gui_mainfcn (line 95) feval(varargin{:});

Error in easy (line 26) gui_mainfcn(gui_State, varargin{:});

Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)easy('pushbutton4_Callback',hObject,eventdata,guidata(hObject))

Error using make_grid

Error while evaluating UIControl Callback.

edit retag flag offensive close merge delete