RMVAR: MEX function to delete variables in a MAT file

This function deletes variables from a MAT file without loading the data onto Matlab.
33 Downloads
Updated 16 Mar 2017

View License

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 (2024). RMVAR: MEX function to delete variables in a MAT file (https://www.mathworks.com/matlabcentral/fileexchange/62101-rmvar-mex-function-to-delete-variables-in-a-mat-file), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Workspace Variables and MAT-Files in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0