Guide Creation File Save Error

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

采纳的回答

Sindhu Yerragunta
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 个)

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by