Index exceeds matrix dimensions. Error in GUI

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?

Antworten (1)

Adam
Adam am 28 Jul. 2016

0 Stimmen

Are you actually passing the data into the subGUI when you launch it? e.g.
subGUI( data );

Kategorien

Tags

Gefragt:

am 28 Jul. 2016

Kommentiert:

am 28 Jul. 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by