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');

 채택된 답변

Star Strider
Star Strider 2019년 9월 15일

1 개 추천

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개)

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

질문:

2019년 9월 15일

답변:

2019년 9월 15일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by