how rename the cell ?

조회 수: 8 (최근 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 CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by