フィルターのクリア

save output for specific folder

74 ビュー (過去 30 日間)
OriAlpha
OriAlpha 2019 年 2 月 14 日
コメント済み: OriAlpha 2019 年 2 月 14 日
i have to save file
i use
save (uigetdir ("F: \"), "d")
but file is not saving
what can i do

採用された回答

Geoff Hayes
Geoff Hayes 2019 年 2 月 14 日
Suhas - uigetdir returns a directory only so you need to specify a file name too. Perhaps something like
folderToSaveFileTo = uigetdir ("F: \");
filename = "someName.mat";
save (fullfile(folderToSaveFileTo, filename), "d");
  1 件のコメント
OriAlpha
OriAlpha 2019 年 2 月 14 日
Thanks it helped

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFile Operations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by