save output for specific folder

25 visualizzazioni (ultimi 30 giorni)
OriAlpha
OriAlpha il 14 Feb 2019
Commentato: OriAlpha il 14 Feb 2019
i have to save file
i use
save (uigetdir ("F: \"), "d")
but file is not saving
what can i do

Risposta accettata

Geoff Hayes
Geoff Hayes il 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");

Più risposte (0)

Categorie

Scopri di più su Environment and Settings in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by