save output for specific folder
57 views (last 30 days)
Show older comments
i have to save file
i use
save (uigetdir ("F: \"), "d")
but file is not saving
what can i do
0 Comments
Accepted Answer
Geoff Hayes
on 14 Feb 2019
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");
More Answers (0)
See Also
Categories
Find more on Filename Construction in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!