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?

답변 (1개)

Adam
Adam 2016년 7월 28일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 Matrix Indexing에 대해 자세히 알아보기

태그

질문:

2016년 7월 28일

댓글:

2016년 7월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by