Using Display function in an easy way
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Amir Ehsani
el 24 de Sept. de 2020
Respondida: madhan ravi
el 24 de Sept. de 2020
I want to print name and value of a variable like "S" as below during the run:
S = 0.15
Can you help me with this please
0 comentarios
Respuesta aceptada
Ameer Hamza
el 24 de Sept. de 2020
Editada: Ameer Hamza
el 24 de Sept. de 2020
S = 0.15;
fprintf('S = %.2f\n', S)
0 comentarios
Más respuestas (1)
Ver también
Categorías
Más información sobre Data Types 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!