- Naming your file to new
- Naming your function to Ve
Check for missing argument or incorrect argument data type in call to function 'new'.
80 ビュー (過去 30 日間)
表示 古いコメント
I could not find the answer. I am missing something
0 件のコメント
回答 (1 件)
Reshma Nerella
2021 年 4 月 5 日
Hi,
The reason behind the error is that,
You are using 2 different names for function name and file name i.e new and Ve.
In MATLAB, if the function has only one function definition, the name of the file must match the name of the function.
So consider either of the following
To know more about functions, refer to the documenation page: functions
参考
カテゴリ
Find more on Debugging and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!