Description
Cache is a lightweight MATLAB addon for archiving and restoring workspace variables to disk.
The Cache.archive function saves a specified workspace variable into a compressed archive file (Archived_Matlab_Variables.zip) on the chosen disk and removes the variable from the workspace. This allows you to temporarily offload large variables while keeping them securely stored.
The Cache.unarchive function restores a previously archived variable back into the caller workspace and removes it from the archive, maintaining clean storage management.
Syntax
Cache.archive(variable)
Cache.archive(variable, disk)
Cache.unarchive('variable')
Cache.unarchive('variable', disk)
引用格式
Tom (2026). Cache (https://ww2.mathworks.cn/matlabcentral/fileexchange/183330-cache), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2025b
兼容 R2016b 到 R2026a 的版本
平台兼容性
Windows macOS Linux标签
| 版本 | 已发布 | 发行说明 | |
|---|---|---|---|
| 1.0.3 | Error fixed when zipping Archived_Matlab_Variables |
|
|
| 1.0.2 |
