필터 지우기
필터 지우기

I am trying to add an index value (cell) from a matrix to a string and use the entire string as a variable. Any ideas?

조회 수: 1 (최근 30일)
>> A = {1,2,3,4}
A =
1×4 cell array
[1] [2] [3] [4]
>> char(strcat('Number',A(1,1),'All_Time_Slices'))=1
Function 'subsindex' is not defined for values of class 'cell'.

답변 (1개)

Walter Roberson
Walter Roberson 2017년 6월 29일

카테고리

Help CenterFile Exchange에서 Numeric Types에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by