Undefined variable "Tmax" or class "Tmax".

3 次查看(过去 30 天)
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.

更多回答(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