how rename the cell ?

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 Comments

Matt J
Matt J on 18 Feb 2021
Edited: Matt J on 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.
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

Sign in to comment.

Answers (0)

Asked:

on 18 Feb 2021

Commented:

on 18 Feb 2021

Community Treasure Hunt

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

Start Hunting!