Undefined variable "Tmax" or class "Tmax".

조회 수: 5 (최근 30일)
JL
JL 2019년 8월 31일
댓글: Star Strider 2019년 9월 1일
Hi everyone, I keep getting this message very infequently, sometimes my code is working, and sometimes it does. Does anyone could provide me with any adivce?

채택된 답변

Star Strider
Star Strider 2019년 8월 31일
The error message should also tell you what line Tmax appears on, and if you are calling external functions, the function it appears in. Go to that line to see what your code is doing there.
Also, in the MATLAB Editor, in the Navigate section of the top toolstrip, click on Find, then search on Tmax. That will allow you to see where it is. You can then take whatever action is appropriate.
  댓글 수: 2
JL
JL 2019년 9월 1일
편집: JL 2019년 9월 1일
thanks! got it!
Star Strider
Star Strider 2019년 9월 1일
As always, my pleasure!

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by