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?

Réponses (1)

Adam
Adam le 28 Juil 2016
Are you actually passing the data into the subGUI when you launch it? e.g.
subGUI( data );

Catégories

Tags

Question posée :

le 28 Juil 2016

Commenté :

le 28 Juil 2016

Community Treasure Hunt

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

Start Hunting!

Translated by