The difference between MATLAB 2018b and MATLAB 2018a
4 ビュー (過去 30 日間)
古いコメントを表示
I encountered a problem that code in matlab 2018b (installed in laptop) is feasible, while the same code running in matlab 2018a (installed in linux) would report errors. I am quite confused. Hope somebody can help me to understand this problem. Thanks.

1 件のコメント
Bruno Luong
2021 年 1 月 6 日
The 'all' option is not necessary for this line of code.
You might remove it altogether so it can work withh ay release.
採用された回答
Cris LaPierre
2021 年 1 月 6 日
R2018a does not support the 'all' option. See here: https://www.mathworks.com/help/releases/R2018a/matlab/ref/sum.html
R2018b does. See here: https://www.mathworks.com/help/releases/R2018b/matlab/ref/sum.html
2 件のコメント
Steven Lord
2021 年 1 月 6 日
Cris is correct. The ability to specify 'all' as the dimension input to twelve functions (including sum) was introduced in release R2018b as stated in the Release Notes.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Introduction to Installation and Licensing についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!