How do I change from Cell to String?

1 回表示 (過去 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 Center および File ExchangeCell Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by