How do I change from Cell to String?

2 visualizaciones (últimos 30 días)
Nimrodb
Nimrodb el 16 de Feb. de 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'

Respuestas (2)

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

Iniciar sesión para comentar.


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

Categorías

Más información sobre Characters and Strings en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by