How do I change from Cell to String?

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 日

0 投票

[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 日

0 投票

Array = {Name, Data{1,2}}

カテゴリ

ヘルプ センター および File ExchangeCell Arrays についてさらに検索

質問済み:

2013 年 2 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by