필터 지우기
필터 지우기

Index in position 2 exceeds array bounds in GUI

조회 수: 1 (최근 30일)
Mohammad Shahbazy
Mohammad Shahbazy 2019년 11월 22일
편집: Mohammad Shahbazy 2019년 11월 24일
I am programming a GUI.
When I want to select only one column or first three columns of an outlined matrix from previous callback step (or in the related function), I encounter an error as "Index in position 2 exceeds array bounds", while I am sure that the matrix has more than one column and when I run that outside of the GUI, it works properly.
I dont know what should I do about this issue. Please guide me by an example.
Thank you in advance
  댓글 수: 2
Alex Mcaulley
Alex Mcaulley 2019년 11월 22일
Hint: Put a breakpoint in the line that is causing the error and see what is happening with the matrix...
Jan
Jan 2019년 11월 22일
Without seeing the code, having the data and the complete error message, Alex's suggestion is the only useful hint which can be given.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by