I have Parse error at '<' :usage might be invalid syntax
2 ビュー (過去 30 日間)
古いコメントを表示
Here is my code
for j < maxc
0 件のコメント
採用された回答
Walter Roberson
2017 年 10 月 10 日
You are using C or C++ syntax. MATLAB syntax is either
for variable = expression
or
while expression
You should probably be using
for j = 1 : maxc
or possibly
for j = 1 : maxc - 1
0 件のコメント
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!