How can I separate the two fprintf
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Yixuan Zhang
am 15 Sep. 2019
Beantwortet: Star Strider
am 15 Sep. 2019
I have the two fprintf, but after run them, they are in one line under the command window. Thanks
fprintf('A new location was found.Enter an ID for it:''NE051');
fprintf('Enter ice thickness for the new day at the new location:''1.68');
0 Kommentare
Akzeptierte Antwort
Star Strider
am 15 Sep. 2019
Add a ‘\n’ newline character to the end of each line:
fprintf('A new location was found.Enter an ID for it:''NE051\n');
↑
fprintf('Enter ice thickness for the new day at the new location:''1.68\n');
↑
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Dates and Time 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!