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");

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Environment 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