I have written code to produce 30 (approx) numeric matrices, all of which I wish to save to a given directory under a single .mat name. What code can be written within the script to save the entire workspace automatically?

 Respuesta aceptada

Walter Roberson
Walter Roberson el 19 de Oct. de 2021
save('NameOfFileToSaveTo.mat')

1 comentario

Sam Hurrell
Sam Hurrell el 20 de Oct. de 2021
That saves the workspace to the current folder, how would I save it to a defined location?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Productos

Versión

R2021a

Etiquetas

Preguntada:

el 19 de Oct. de 2021

Comentada:

el 20 de Oct. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by