Effacer les filtres
Effacer les filtres

MAT file

1 vue (au cours des 30 derniers jours)
Sivakumaran Chandrasekaran
How to edit a mat file
  1 commentaire
TAB
TAB le 3 Avr 2012
http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer

Connectez-vous pour commenter.

Réponses (1)

Jonathan Sullivan
Jonathan Sullivan le 3 Avr 2012
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

Catégories

En savoir plus sur Standard File Formats dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by