Matlab command window result in one line , even wrap text views the output in an non organized way.

2 visualizzazioni (ultimi 30 giorni)
The result comes all in one line , i made wrap text but also it appears in a non organized way , all answers close to one another. How can i get each answer of each iteration in a single line?

Risposte (1)

Fangjun Jiang
Fangjun Jiang il 14 Set 2018
use '\n' in fprintf()
fprintf('a1\nb2\nc3\n')

Categorie

Scopri di più su Entering Commands in Help Center e File Exchange

Prodotti


Release

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by