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

2 ビュー (過去 30 日間)
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?

回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2018 年 9 月 14 日
use '\n' in fprintf()
fprintf('a1\nb2\nc3\n')

カテゴリ

Help Center および File ExchangeEntering Commands についてさらに検索

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by