Effacer les filtres
Effacer les filtres

How do I change from Cell to String?

1 vue (au cours des 30 derniers jours)
Nimrodb
Nimrodb le 16 Fév 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'

Réponses (2)

Azzi Abdelmalek
Azzi Abdelmalek le 16 Fév 2013
[Array{1} Array{2} ]
  1 commentaire
Nimrodb
Nimrodb le 16 Fév 2013
I think I found an option:
Array = [{Name},{char(Data(1,2))}]

Connectez-vous pour commenter.


Jan
Jan le 17 Fév 2013
Array = {Name, Data{1,2}}

Catégories

En savoir plus sur Characters and Strings dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by