How can I save a variable to external harddisk

11 visualizaciones (últimos 30 días)
Uerm
Uerm el 28 de Oct. de 2019
Comentada: Uerm el 28 de Oct. de 2019
Hi,
I am trying to save two variables using the save function. However, this function saves the variables in the same folder as the function/code location. Is there a way to save the variables directly to an external harddisk that is connected to the computer?
Thanks!

Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 28 de Oct. de 2019
save(FileName, Variables). Specify the full path of your file, e.g. 'd:\mydoc\file.mat'

Más respuestas (0)

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by