Azzera filtri
Azzera filtri

How do I change from Cell to String?

1 visualizzazione (ultimi 30 giorni)
Nimrodb
Nimrodb il 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'

Risposte (2)

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

Accedi per commentare.


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

Categorie

Scopri di più su Characters and Strings in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by