フィルターのクリア

how to move cursor to next line.

5 ビュー (過去 30 日間)
Manu MJ
Manu MJ 2011 年 6 月 9 日
Using MATLAB how to move cursor to next line in text file. fprintf('\n') is not working. any other way?
  2 件のコメント
Manu MJ
Manu MJ 2011 年 6 月 9 日
once if I read the text data i am suppose to read it in matrix format only. But now what ever i reads it is coming in single column.
For e.g.
i should write the data to text file as
1 2 3
1 2 3
like this continuously
While reading i should read as i specified above.
Fangjun Jiang
Fangjun Jiang 2011 年 6 月 9 日
I don't understand what are you saying.

サインインしてコメントする。

採用された回答

Fangjun Jiang
Fangjun Jiang 2011 年 6 月 9 日
Follow this QA to see if it can help you.

その他の回答 (1 件)

Walter Roberson
Walter Roberson 2011 年 6 月 9 日
fprintf('%f %f %f\n', transpose(YourMatrix));

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by