Filter löschen
Filter löschen

How do I change from Cell to String?

1 Ansicht (letzte 30 Tage)
Nimrodb
Nimrodb am 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'

Antworten (2)

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

Melden Sie sich an, um zu kommentieren.


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

Kategorien

Mehr zu Characters and Strings finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by