Unexpected MATLAB expression error
3 ビュー (過去 30 日間)
古いコメントを表示
回答 (1 件)
Walter Roberson
2016 年 6 月 22 日
The code fragment
XXXXXXXXXXXXXXXXXXXXXX COMPLETE XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
is not valid MATLAB code. MATLAB does not automatically use multiplication between adjacent names or tokens. MATLAB only builds a list of items between space-separated tokens when the tokens are inside [] or {} -- but your code is assigning to a scalar element so you would not want a list built at that point anyhow.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!