How can I separate the two fprintf
14 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Yixuan Zhang
el 15 de Sept. de 2019
Respondida: Star Strider
el 15 de Sept. de 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 comentarios
Respuesta aceptada
Star Strider
el 15 de Sept. de 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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Grid Lines, Tick Values, and Labels 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!