MATLAB: How to get the command prompt to start on a new line in the command window.

command windowprogram setup

After I enter my program to test, the ">>" appear immediately after the answer and not on a new line.

Best Answer

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