??? Subscript indices must either be real positive integers or logicals.

조회 수: 1 (최근 30일)
Can somebody help me on fixing this error? I can't seem to figure it out..
Here is the txt file for the matlab program : http://txtup.co/6ams8
  댓글 수: 1
per isakson
per isakson 2013년 4월 13일
편집: per isakson 2013년 4월 13일
Use the debugger. Start with
dbstop if error
My guess is that an index variable is empty.

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

채택된 답변

Image Analyst
Image Analyst 2013년 4월 13일
It doesn't run but doesn't give the same error as you got:
Alocarea polilor
Undefined function 'acker' for input arguments of type 'double'.
Error in test3 (line 41)
k_poli=acker(Asp,Bsp,[s1(k) s2(k)]);kalfa=k_poli(1);kq=k_poli(2);
However there is a way to fix it. Follow this link: http://blogs.mathworks.com/videos/2012/07/03/debugging-in-matlab/

추가 답변 (1개)

Radu
Radu 2013년 4월 13일
This is kinda odd..

카테고리

Help CenterFile Exchange에서 Debugging and Analysis에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by