How to assign string to a number?
Mostrar comentarios más antiguos
for exmaple:
if a=1;
so as i dispay 1 it should display a
Respuestas (1)
Alan Stevens
el 20 de Mzo. de 2021
Something like?
disp(['a = ',num2str(a)])
Categorías
Más información sobre Characters and Strings en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!