How do i fix that code
19 ビュー (過去 30 日間)
古いコメントを表示
switch nargin
case 0
error(message('MATLAB:minrhs'));
case 1
S.s = tomupad(x);
Error using sym (line 212)
Not enough input arguments
0 件のコメント
回答 (1 件)
Steven Lord
2018 年 11 月 13 日
When you call the sym function you must call it with at least one input argument. The Syntax section on that documentation page does not list a zero input calling syntax. Based on the error message you are calling it with no input arguments.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Function Creation についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!