How do I change from Cell to String?

3 views (last 30 days)
Nimrodb
Nimrodb on 16 Feb 2013
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'

Answers (2)

Azzi Abdelmalek
Azzi Abdelmalek on 16 Feb 2013
[Array{1} Array{2} ]
  1 Comment
Nimrodb
Nimrodb on 16 Feb 2013
I think I found an option:
Array = [{Name},{char(Data(1,2))}]

Sign in to comment.


Jan
Jan on 17 Feb 2013
Array = {Name, Data{1,2}}

Categories

Find more on Characters and Strings in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!