Matlab - dialogo guardar como

 
Vista:

dialogo guardar como

Publicado por marco osorio (13 intervenciones) el 06/06/2010 18:29:00
Hola a todos,

estoy desarrollando un programa que genera como producto final y archivo de texto. Me gustaria ponerle un boton GUARDAR, pero que aparezca un diagolo tipo SAVE AS, para poder elegir la locacion final de este archivo...

alguna idea??

Atte
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:dialogo guardar como

Publicado por Julian C. (75 intervenciones) el 06/06/2010 19:21:48
Hola, podrías probar con la función UIPUTFILE.

En la ventana de comandos de Matlab escribe:

>> doc uiputfile

para más información y ejemplos de cómo usar esta función.

Saludos...
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar
Imágen de perfil de Dave
Val: 497
Ha mantenido su posición en Matlab (en relación al último mes)
Gráfica de Matlab

RE:dialogo guardar como

Publicado por Dave (1094 intervenciones) el 06/06/2010 23:22:56
Hola Marco;

Puedes ver la ayuda de la funcion "saveas" in Matlab.

Saludos
Dave

>> help saveas

SAVEAS Save Figure or model to desired output format.
SAVEAS(H,'FILENAME')
Will save the Figure or model with handle H to file called FILENAME.
The format of the file is determined from the extension of FILENAME.

SAVEAS(H,'FILENAME','FORMAT')
Will save the Figure or model with handle H to file called FILENAME.
in the format specified by FORMAT. FORMAT can be the same values as
extensions of FILENAME. The FILENAME extension does not have to be
the same as FORMAT. Given FORMAT overrides FILENAME extension.

Valid options for FORMAT are:

'fig' - save figure to a single binary FIG-file. Reload using OPEN.
'm' - save figure to binary FIG-file, and produce callable
M-file for reload.
'mfig' - same as M.
'mmat' - save figure to callable M-file as series of creation commands
with param-value pair arguments. Large data is saved to MAT-file.
Note: MMAT Does not support some newer graphics features. Use
this format only when code inspection is the primary goal.
FIG-files support all features, and load more quickly.

Allowable options also include devices allowed by PRINT.

Examples:

Write current figure to MATLAB fig file

saveas(gcf, 'output', 'fig')

Write current figure to windows bitmap file

saveas(gcf, 'output', 'bmp')

See Also LOAD, SAVE, OPEN, PRINT
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar