How do I change from Cell to String?

조회 수: 2 (최근 30일)
Nimrodb
Nimrodb 2013년 2월 16일
I think that this is my problem at this case.
Code:
Array = [{Name} {Data(1,2)}]
Result:
Array=
'John' {1x1 cell}
What I want is:
'John' 'Doe'

답변 (2개)

Azzi Abdelmalek
Azzi Abdelmalek 2013년 2월 16일
[Array{1} Array{2} ]
  댓글 수: 1
Nimrodb
Nimrodb 2013년 2월 16일
I think I found an option:
Array = [{Name},{char(Data(1,2))}]

댓글을 달려면 로그인하십시오.


Jan
Jan 2013년 2월 17일
Array = {Name, Data{1,2}}

카테고리

Help CenterFile Exchange에서 Cell Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by