What is the meaning of "Trailing string must be 'omitan' or 'includenan' " on MATLAB. I run the programm below but this error message displays

7 ビュー (過去 30 日間)
I have problem on Line 272
  2 件のコメント
Jan
Jan 2022 年 2 月 8 日
We cannot run your code due to the missing input files. It is hard to guess, which line throws the error, but you do have this important information on the screen already. So please post the complete error message to make it easier to help you.
Thomas TJOCK-MBAGA
Thomas TJOCK-MBAGA 2022 年 2 月 8 日
That is the complete error message Error using max Trailing string input be 'omitan' or 'includenan'.
Error in multis_multil (Line 272) err = max (ans(c-cn(1:ix:N,:,:)), [ ], 'all');

サインインしてコメントする。

採用された回答

Stephen23
Stephen23 2022 年 2 月 8 日
編集済み: Stephen23 2022 年 2 月 8 日
The 'all' option is not available in your version (R2016a). It was introduced in R2018b:
You can probably replace that line with the classic approach using a colon:
tmp = abs(c-cn(1:ix:N,:,:));
err = max(tmp(:));
  4 件のコメント
Stephen23
Stephen23 2022 年 2 月 8 日
編集済み: Stephen23 2022 年 2 月 8 日
MakerIndices was introduced in R2016b. It will not work on your version.
Please remember to accept my answer, which answers your original question.
Thomas TJOCK-MBAGA
Thomas TJOCK-MBAGA 2022 年 2 月 9 日
I solved the problem another way by directly putting the markers in the plot command and it works. Thank you very much for your contribution

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGraphics Object Programming についてさらに検索

タグ

製品


リリース

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by