Get Path of Saved File

조회 수: 17 (최근 30일)
Mateus Banroc
Mateus Banroc 2019년 12월 18일
댓글: Mateus Banroc 2019년 12월 18일
Hi everyone,
I'm working in an app with matlab. The variables that the app creates/edits are being saved in .mat file with uisave. After saving, the app continues to work (till here, no problems). However, after editing the variables in the app, I want to save them again, but overwriting the same saved file before, witch I can't because I don't have the path or the name of the file saved with uisave.
The solution I get is to use uisave every time (for new files or not) and let the user overwrites manually a saved file

채택된 답변

Fangjun Jiang
Fangjun Jiang 2019년 12월 18일
use uiputfile() which can return path and file name. then save()
  댓글 수: 1
Mateus Banroc
Mateus Banroc 2019년 12월 18일
It works perfectly!! Thanks Fangjun Jiang!!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by