File Exchange

image thumbnail

RMVAR: MEX function to delete variables in a MAT file

version 1.0.0.0 (1.52 KB) by Kesh Ikuma
This function deletes variables from a MAT file without loading the data onto Matlab.

1 Download

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 (2021). 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 .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!