Convert a numeric vector to 1-D cell of strings
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
bethel o
el 31 de Mzo. de 2023
Comentada: bethel o
el 4 de Abr. de 2023
How can one convert a numeric vector to 1-D cell of strings in a in one line without a loop and user defined lamda?
So convert
numbers=[1,2];
to
numbers_dropdown_item={'1','2'}.
A use case is with the accepted value for uidropdown.Items
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Characters and Strings en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!