How do I get the command prompt to start on a new line in my command window.
5 ビュー (過去 30 日間)
古いコメントを表示
After I enter my program to test, the ">>" appear immediately after the answer and not on a new line.
0 件のコメント
採用された回答
bym
2012 年 7 月 21 日
you need to add a new line '\n' to your display of the answer:
fprintf('no new line')
no new line>>
>> fprintf('new line\n')
new line
>>
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!