get file and put file with memory

combines uigetfile and uiputfile and remmbers last location
1,3K download
Aggiornato 29 set 2006

Nessuna licenza

Description:Function that implements uigetfile and uiputfile with memory of last location of last put or get file. Script is very flexible and can accept a range of 1 to 5 inputs.
Inputs:
FilterSpec: determines the initial display of files and can include the * wildcard. For example, '*.m' lists all the MATLAB
DialogTitle:appears in the File name field
DefaultName:default file name
Option:use 'get' to use uigetfile
and 'put' to use uiputfile
Memoryfile: used to store last location visited
Ouputs: FileName:
PathName:
Example:
get a file with NameList
[FileNameIn,PathNameIn]= NameList('get','SourceMemory.mem','Select File to Open', '*.*','');
out a file with NameList
[FileNameIn,PathNameIn]= NameList('put','DestinationMemory.mem','Select File to Write', '*.*','');
for a quick call, use [FileNameIn,PathNameIn]= NameList('get','SourceMemory.mem') or
[FileNameIn,PathNameIn]= NameList('put','DestinationMemory.mem')
see uigetfile and uiputfile for extended help

Cita come

Rami Neseem (2025). get file and put file with memory (https://it.mathworks.com/matlabcentral/fileexchange/12460-get-file-and-put-file-with-memory), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R10
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su File Operations in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0