What causes error for referencing non-structure array in GUI ?
1 view (last 30 days)
Show older comments
When I try to run my GUI I get this error, I've checked the tags but I don't know what could be causing it or what this error means?
Thanks in advanced
Attempt to reference field of non-structure array.
Error in tile_simulator>pushbutton1_CreateFcn (line 156)
axes(handles.axes1);
Error in gui_mainfcn (line 96)
feval(varargin{:});
Error in tile_simulator (line 42)
gui_mainfcn(gui_State, varargin{:});
Error in
@(hObject,eventdata)tile_simulator('pushbutton1_CreateFcn',hObject,eventdata,guidata(hObject))
Error using struct2handle
Error while evaluating uicontrol CreateFcn
0 Comments
Answers (1)
Walter Roberson
on 17 Apr 2013
I suspect that if you check, in that particular circumstance, handles is [] (empty)
0 Comments
See Also
Categories
Find more on Migrate GUIDE Apps in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!