Riduzione dell'utilizzo della memoria
Identificare l'utilizzo della memoria e applicare tecniche per utilizzarla in modo più efficiente
MATLAB® gestisce automaticamente la memorizzazione dei dati. Tuttavia, se la memoria costituisce un problema, esistono diverse tecniche che è possibile applicare per ridurre i requisiti.
Funzioni
Argomenti
- How MATLAB Allocates Memory
Write more memory-efficient code by understanding how MATLAB allocates memory.
- Strategies for Efficient Use of Memory
Reduce memory usage in your programs, use appropriate data storage, avoid fragmenting memory, and reclaim used memory.
- Avoid Unnecessary Copies of Data
MATLAB can apply memory optimizations when passing function inputs by value.
- Resolve “Out of Memory” Errors
Troubleshoot errors when MATLAB cannot allocate the requested memory.