How do I get the command prompt to start on a new line in my command window.

24 ビュー (過去 30 日間)
Aaron
Aaron 2012 年 7 月 21 日
After I enter my program to test, the ">>" appear immediately after the answer and not on a new line.

採用された回答

bym
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
>>
  1 件のコメント
Aaron
Aaron 2012 年 7 月 21 日
Thanks....I keep forgetting that when writing programs!!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLinear Least Squares についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by