How can I save a variable to external harddisk

조회 수: 11 (최근 30일)
Uerm
Uerm 2019년 10월 28일
댓글: Uerm 2019년 10월 28일
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!

채택된 답변

Fangjun Jiang
Fangjun Jiang 2019년 10월 28일
save(FileName, Variables). Specify the full path of your file, e.g. 'd:\mydoc\file.mat'

추가 답변 (0개)

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by