Why i am getting this error ...? please help

Subscripted assignment dimension mismatch.
Error in lens (line 40) FINAL_INTENSITY(i,dex)=(INTENSITY_IN_MLA(i,index).*transmitance)/100;

답변 (1개)

James Tursa
James Tursa 2015년 7월 9일

0 개 추천

Type the following at the MATLAB prompt:
dbstop if error
Then run your code. When the error occurs the program will pause in the debugger. You can then examine your variables to see what the sizes are and why you are getting the error. That will allow you to back trace through the code to see why the dimensions are not as expected.

카테고리

도움말 센터File Exchange에서 Debugging and Analysis에 대해 자세히 알아보기

질문:

2015년 7월 9일

댓글:

2015년 7월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by