dlmwrite help
古いコメントを表示
I can't use xlswrite because i have a mac so can anyone give a example of how to use dlmwrite if i have a column of text?
採用された回答
その他の回答 (1 件)
bym
2011 年 11 月 1 日
I don't think you can, try
fprintf()
2 件のコメント
Abra dog
2011 年 11 月 1 日
Walter Roberson
2011 年 11 月 1 日
That is not correct, Abra. Excel can read csv (text) files, and fprintf() is an important technique for creating text files.
If you are imagining that you can get MATLAB to start up Excel on OS-X and trigger Excel to load the file, and do something with it, then you would have to get in to AppleScript, which you really would rather not do when you can simply fprintf() your file.
dlmwrite() uses fprintf() internally. You can look at the dlmwrite() source code:
type dlmwrite
カテゴリ
ヘルプ センター および File Exchange で Text Files についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!