RMVAR: MEX function to delete variables in a MAT file
rmvar(MATFILE,VARNAME1,VARNAME2,...) deletes the listed variables (VARNAME1, VARNAME2, etc.) from the MAT-file specified by the string MATFILE.
rmvar(MATFILE,{VARNAME1,VARNAME2,...}) is an alternate way to call, specifying the variable names in a cell array.
The function is implementd as a MEX function and the accompanied C++ source file must be compiled first by
mex rmvar.cpp
See mex documentation on how to configure the MEX compiler function.
Cite As
Kesh Ikuma (2026). RMVAR: MEX function to delete variables in a MAT file (https://se.mathworks.com/matlabcentral/fileexchange/62101-rmvar-mex-function-to-delete-variables-in-a-mat-file), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
