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

2 Ansichten (letzte 30 Tage)
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?

Antworten (1)

Fangjun Jiang
Fangjun Jiang am 14 Sep. 2018
use '\n' in fprintf()
fprintf('a1\nb2\nc3\n')

Kategorien

Mehr zu Entering Commands finden Sie in Help Center und File Exchange

Produkte


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by