get file and put file with memory
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
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0.0 |
