Need help on how to CREATE a text file in matlab?
3 ビュー (過去 30 日間)
古いコメントを表示
Do I use fopen or table function?
0 件のコメント
回答 (2 件)
Star Strider
2023 年 10 月 2 日
‘Do I use fopen or table function?’
It depends on what you want to do. If you have a numeric array with column text headings, use table and then writetable to create the file. If youu have a matrix, the writematrix function may be more appropriate. If you have a cell array, use writecell.
0 件のコメント
Cris LaPierre
2023 年 10 月 2 日
It really depends on the data you are trying to write to the file. See this page: https://www.mathworks.com/help/matlab/import_export/write-to-delimited-data-files.html
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Text Files についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!