how rename the cell ?

8 Ansichten (letzte 30 Tage)
Muhannad Saleh
Muhannad Saleh am 18 Feb. 2021
Kommentiert: Walter Roberson am 18 Feb. 2021
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 Kommentare
Matt J
Matt J am 18 Feb. 2021
Bearbeitet: Matt J am 18 Feb. 2021
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 am 18 Feb. 2021
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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by