Get Path of Saved File

17 Ansichten (letzte 30 Tage)
Mateus Banroc
Mateus Banroc am 18 Dez. 2019
Kommentiert: Mateus Banroc am 18 Dez. 2019
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

Akzeptierte Antwort

Fangjun Jiang
Fangjun Jiang am 18 Dez. 2019
use uiputfile() which can return path and file name. then save()
  1 Kommentar
Mateus Banroc
Mateus Banroc am 18 Dez. 2019
It works perfectly!! Thanks Fangjun Jiang!!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by