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 日

1 投票

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 件)

カテゴリ

ヘルプ センター および File ExchangeEnvironment and Settings についてさらに検索

質問済み:

2019 年 2 月 14 日

コメント済み:

2019 年 2 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by