After I enter my program to test, the ">>" appear immediately after the answer and not on a new line.
No products are associated with this question.
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 >>
Direct link to this comment:
http://mathworks.com/matlabcentral/answers/44221#comment_90925
Thanks....I keep forgetting that when writing programs!!
Direct link to this answer:
http://mathworks.com/matlabcentral/answers/44221#answer_54227
Contact us
0 Comments