MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Opportunities for recent engineering grads.
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')
Direct link to this comment:
Thanks....I keep forgetting that when writing programs!!
Direct link to this answer: