MAT file

1 回表示 (過去 30 日間)
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2012 年 4 月 3 日
How to edit a mat file
  1 件のコメント
TAB
TAB 2012 年 4 月 3 日
http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer

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

回答 (1 件)

Jonathan Sullivan
Jonathan Sullivan 2012 年 4 月 3 日
What do you want to edit? Do you want to change a variable? Add a variable? Assuming it's the latter, you could just use the -append flag.
For example
x = rand(100,1);
save('MyData.mat','x'); % initial save
y = rand(100,1);
save('MyData.mat','y','-append'); % add a variable

カテゴリ

Help Center および File ExchangeWorkspace Variables and MAT-Files についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by