Undefined function or variable
Ältere Kommentare anzeigen
I've received a script, created a file and put the code in it. While running I receive this error. As it is a script (not a function), there should not be a problem. Does anybody can guide me?
Antworten (1)
KALYAN ACHARJYA
am 5 Jul. 2020
Bearbeitet: KALYAN ACHARJYA
am 5 Jul. 2020
0 Stimmen
As you mentioned that it is main scripts (Not associated function call). The error clearly stated that "Undefined function or variable"
May be you using the any custom function within the code, which is not defined in the current working directory Or you didnot defined any variable, before it is used. Please check it carefully or share the code, so that we can point the exact error.
4 Kommentare
joly Alipor
am 5 Jul. 2020
KALYAN ACHARJYA
am 5 Jul. 2020
Bearbeitet: KALYAN ACHARJYA
am 5 Jul. 2020
Please us MTALAB version 2017b or more latest. I guess you are getting the "undefined function error" because of isfile.
Steven Lord
am 5 Jul. 2020
Can you show us the full and exact text (including all the text displayed in red) of the error message you received?
joly Alipor
am 5 Jul. 2020
Kategorien
Mehr zu Performance and Memory finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!