Borrar filtros
Borrar filtros

Get Path of Saved File

18 visualizaciones (últimos 30 días)
Mateus Banroc
Mateus Banroc el 18 de Dic. de 2019
Comentada: Mateus Banroc el 18 de Dic. de 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

Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 18 de Dic. de 2019
use uiputfile() which can return path and file name. then save()
  1 comentario
Mateus Banroc
Mateus Banroc el 18 de Dic. de 2019
It works perfectly!! Thanks Fangjun Jiang!!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by