ok button gives error:Subscript indices must either be real positive integers or logicals. Error using waitfor Error while evaluating uicontrol Callback
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Iain
am 24 Feb. 2014
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.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!