Guide Creation File Save Error
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Michael
am 4 Aug. 2017
Beantwortet: Sindhu Yerragunta
am 7 Aug. 2017
Hello,
I haven't tried to create an interface in a while so I could be doing something incorrect; however, I startup guide select new. Next I drag the axis plot icon onto it. Finally, I just go to save as or save and I get errors, see attached image. What am I doing incorrectly?
0 Kommentare
Akzeptierte Antwort
Sindhu Yerragunta
am 7 Aug. 2017
Hi Micheal,
This error message has two possible causes:
1. There is a user-defined function (.m file) that conflicts with a built-in MATLAB function.
For example, a user-defined function in a file named "plot.m" would conflict with the built-in MATLAB function "plot".
To resolve this issue, rename the user-defined function so it does not conflict with the built-in MATLAB function.
To determine the location of the function, open MATLAB and run the following command:
>> which -all <function name>
2. You are trying to provide inputs to a function, but have not defined it using the MATLAB function declaration.
For example, if the file "test1.m" is created without defining test1 as a function, and it is then passed an input argument, e.g.
>> test1(5:10)
This will cause the error if test1 was not previously defined as a function.
Hope this resolves the issue.
-Sindhu
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!