How do I get the command prompt to start on a new line in my command window.
조회 수: 8 (최근 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!