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'
  1 件のコメント
Uerm
Uerm 2019 年 10 月 28 日
Thanks! It works.

サインインしてコメントする。

その他の回答 (0 件)

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by