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?
0 件のコメント
採用された回答
Sindhu Yerragunta
2017 年 8 月 7 日
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Migrate GUIDE Apps についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!