ok button gives error:Subscript indices must either be real positive integers or logicals. Error using waitfor Error while evaluating uicontrol Callback
조회 수: 1 (최근 30일)
이전 댓글 표시
Thank you for the help. I have already corrected that mistake. The main issue is that if I am running the code as a standalone code it is running successfully but if the gui and database are connected with the same code, then this type of error is occuring:
"Subscript indices must either be real positive integers or logicals.
Error using waitfor Error while evaluating uicontrol Callback"
and after the error,if the same code ie without gui and database is executed,it continuously gives the same error again and again.
댓글 수: 0
답변 (1개)
Iain
2014년 2월 24일
That error is because, somewhere in your code you've got something like
number = -1;
array(0) or array(1.4) or array(23,0) or array(number)
somewhere in your code.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!