Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Subscript Indices must be either real positive or logicals
1 回表示 (過去 30 日間)
古いコメントを表示
I am getting above error in following code:
sets =ones(numel(fonts), numel(chars));
sets(end-349:end,:) = 2 ;
1 件のコメント
Jeff
2017 年 3 月 13 日
I think you need to attach or include your indices files in a .mat file to facilitate diagnosis. My guess if you look at either end, fonts, or chars one of them are not either + integers or logicals.
Only a guess without all of the info
回答 (1 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!