Error in Updating the text file
1 回表示 (過去 30 日間)
古いコメントを表示
IntString2 = sprintf('<FileName>',cFile(i).name,'</FileName>')
and i get the below error message
"Subscript indices must either be real positive integers or logicals."
Would be great on any suggestions
0 件のコメント
採用された回答
Birdman
2017 年 12 月 26 日
Probably i starts from 0, it should start from 1 and it should be integer at any circumstances. This happens probably in a for loop. Please check it.
1 件のコメント
Walter Roberson
2017 年 12 月 26 日
Probably i was not assigned a value and has its default association with sqrt(-1)
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Entering Commands についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!