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

 Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by