Index exceeds matrix dimensions. Error in GUI
Show older comments
I want to deliver a data struct 'data' into the subGUI from the main GUI with command 'handles.data=varargin{1}' in the openingFcn in the subGUI, but I cannot open the subGUI interface from the main GUI because of the error Index exceeds matrix dimensions. How can I fix this?
1 Comment
Walter Roberson
on 28 Jul 2016
I think we will probably need to see your code.
Answers (1)
Adam
on 28 Jul 2016
Are you actually passing the data into the subGUI when you launch it? e.g.
subGUI( data );
Categories
Find more on Matrix Indexing 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!