MAT file

1 visualización (últimos 30 días)
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran el 3 de Abr. de 2012
How to edit a mat file
  1 comentario
TAB
TAB el 3 de Abr. de 2012
http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer

Iniciar sesión para comentar.

Respuestas (1)

Jonathan Sullivan
Jonathan Sullivan el 3 de Abr. de 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

Categorías

Más información sobre Workspace Variables and MAT-Files en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by