Borrar filtros
Borrar filtros

Add new data into existing mat file

299 visualizaciones (últimos 30 días)
Hazel Sialongo
Hazel Sialongo el 28 de Sept. de 2016
Comentada: Stephen23 el 25 de Ag. de 2021
How to add new data in the existing mat file?

Respuesta aceptada

Stephen23
Stephen23 el 28 de Sept. de 2016
The save documentation gives this syntax:
save(filename,variables,'-append')
and describes it as " save(filename,variables,'-append') adds new variables to an existing file. If a variable already exists in a MAT-file, then save overwrites it. The variables argument is optional."
  11 comentarios
Abhishek Kumar
Abhishek Kumar el 25 de Ag. de 2021
I have the same problem, I don't want it to overwrite either, I need to save multiple outputs from different run to the same file.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Structures 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