Subscript indices must either be real positive integers or logicals.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
NIKET shah
am 3 Jul. 2018
Beantwortet: James Tursa
am 3 Jul. 2018
How can i solve this error.
0 Kommentare
Akzeptierte Antwort
James Tursa
am 3 Jul. 2018
Use the debugger. Type this at the MATLAB command prompt:
dbstop if error
Then run your code. When the error occurs, the code will pause at the offending line with all variables intact. Examine the indexing variables to see what their values are, then backtrack in your code to figure out why they are not the integers you expect them to be.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!