Creating matrixes in .mat file
古いコメントを表示
I want to create a .mat file and inside the .mat file, there are variables that represent individual matrices. So lets say in the .mat file I have a, b, c, d. And each a, b, c, d has its own matrix and I can add contents into each matrix. Is there a way to do this? thanks
1 件のコメント
You can place as many individual elements in a .mat file as memory permits. Those can be scalars, structures, cell arrays, tables, etc...
Please read the documentation on save to see how to put several variables in a .mat file.
doc save
採用された回答
その他の回答 (1 件)
Victor
2014 年 6 月 25 日
0 投票
3 件のコメント
From the documentation:
'-append'
Keyword to add data to an existing file. For MAT-files, -append adds
new variables to the file or replaces the saved values of existing
variables with values in the workspace. For ASCII files, -append adds
data to the end of the file.
Please place your post as a comment since it is not really an answer.
Victor
2014 年 6 月 25 日
Victor
2014 年 6 月 25 日
カテゴリ
ヘルプ センター および File Exchange で Workspace Variables and MAT Files についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!