File MAT di grandi dimensioni
Utilizzare la funzione matfile
per accedere direttamente alle variabili di MATLAB® dai file MAT su disco, senza caricare le variabili complete nella memoria. Quando si crea un nuovo file utilizzando matfile
, la funzione crea un file MAT versione 7.3 che consente anche di salvare variabili di dimensioni superiori a 2 GB.
Funzioni
matfile | Access and change variables in MAT-file without loading file into memory |
Argomenti
- Save and Load Workspace Variables
Save some or all variables in the current workspace and reload the variables later during the current MATLAB session, or during another session.
- Save and Load Parts of Variables in MAT-Files
Save and load parts of variables directly in MAT-files without loading them into memory using the
matfile
function. - MAT-File Versions
There are several versions of MAT-files that each support an increasing set of features, starting with MAT-file Version 4.
Risoluzione dei problemi
Growing Arrays Using matfile Function
When writing a large number of large values to a MAT-file, the size of the file increases in a nonincremental way, which is expected.