Subscript indices must either be real positive integers or logicals.
조회 수: 1 (최근 30일)
이전 댓글 표시
How can i solve this error.
댓글 수: 0
채택된 답변
James Tursa
2018년 7월 3일
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
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!