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!