Guide Creation File Save Error

1 visualización (últimos 30 días)
Michael
Michael el 4 de Ag. de 2017
Respondida: Sindhu Yerragunta el 7 de Ag. de 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?

Respuesta aceptada

Sindhu Yerragunta
Sindhu Yerragunta el 7 de Ag. de 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

Más respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by