how rename the cell ?

9 ビュー (過去 30 日間)
Muhannad Saleh
Muhannad Saleh 2021 年 2 月 18 日
コメント済み: Walter Roberson 2021 年 2 月 18 日
hello
i have cell 48x2 and i need to rename it like this
1874x5 table 1874x2 cell
2192x5 table 2192x2 cell
2091x5 table 2091x2 cell
can i change the name to with loop
p1 b1
p2 b2
p3 b3
  2 件のコメント
Matt J
Matt J 2021 年 2 月 18 日
編集済み: Matt J 2021 年 2 月 18 日
You seem to be under the impression that the individual cells of a cell array have names or can be given names. But they do not and cannot.
Walter Roberson
Walter Roberson 2021 年 2 月 18 日
And if the idea is that you would generate a variable name p3 from cell{3,1}, then see http://www.mathworks.com/matlabcentral/answers/304528-tutorial-why-variables-should-not-be-named-dynamically-eval

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by