Using Display function in an easy way
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Amir Ehsani
am 24 Sep. 2020
Beantwortet: madhan ravi
am 24 Sep. 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 Kommentare
Akzeptierte Antwort
Ameer Hamza
am 24 Sep. 2020
Bearbeitet: Ameer Hamza
am 24 Sep. 2020
S = 0.15;
fprintf('S = %.2f\n', S)
0 Kommentare
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Data Types finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!