Help creating a function
2 ビュー (過去 30 日間)
古いコメントを表示
採用された回答
Rik
2023 年 10 月 21 日
You need to call your function the same way you call builtin functions. If you use the green triangle, your function will be run without any input arguments.
It is also good practice to resolve all mlint warnings (the orange squiggly lines). There is an option to leave your code as-is and suppress the error, but for the current warnings about your code you shouldn't.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Adding custom doc についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!