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!