uigetfile_with_prev​iew - GUI dialog window with a preview panel

Displays a file-selection dialog with an integrated preview panel.
531 descargas
Actualizado 2 nov 2016

Ver licencia

Inputs:
filterSpec - similar to uigetfile's filterSpec. Examples:
'defaultFile.mat'
'*.mat'
{'MAT files', '*.mat'}
{'Data or m files (*.m,*.mat)', {'m';'mat'}}
prompt - optional dialog prompt (default: 'Select file')
folder - optional default folder (default: current folder)
callback - optional handle to a callback function with the following interface:
callbackFunction(hPanel, filename)
The callback function should check the specified file and update the specified panel accordingly.
(default: [])
multiSelect - optional flag specifying whether multiple files can be selected (default: false)

Output:
filename - full-path filename of the selected file(s) (or empty array)

Warning:
This code heavily relies on undocumented and unsupported Matlab functionality. It is expected to work on Matlab 7.4+, but use at your own risk!

Bugs and suggestions:
Please send to Yair Altman (altmany at gmail dot com)

Citar como

Yair Altman (2024). uigetfile_with_preview - GUI dialog window with a preview panel (https://www.mathworks.com/matlabcentral/fileexchange/60074-uigetfile_with_preview-gui-dialog-window-with-a-preview-panel), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2016b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Environment and Settings en Help Center y MATLAB Answers.
Etiquetas Añadir etiquetas

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0