save output for specific folder
60 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
OriAlpha
el 14 de Feb. de 2019
Comentada: OriAlpha
el 14 de Feb. de 2019
i have to save file
i use
save (uigetdir ("F: \"), "d")
but file is not saving
what can i do
0 comentarios
Respuesta aceptada
Geoff Hayes
el 14 de Feb. de 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");
Más respuestas (0)
Ver también
Categorías
Más información sobre Filename Construction en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!