To allocate character array='2a'
2 ビュー (過去 30 日間)
古いコメントを表示
AE(32,10)='2a';
This is on error
2 件のコメント
Stephen23
2021 年 7 月 7 日
Original question (basically duplicate):
Note to @sadasd asasdas: please do not keep asking the same question. Clarify or ask for more information in your existing question.
回答 (1 件)
James Tursa
2021 年 7 月 7 日
'2a' is a two element character string. You can't assign two elements to a single element. I.e., you can't assign a 1x2 vector to a 1x1 element spot.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Multidimensional Arrays についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!