remove varables in MAT file(s)
removevar removes variable(s) from selected Mat file(s)
removevar selects MAT file(s) matfiles and ask user to select which
variables to delete. If more than one MAT file, matfiles is of cell format. Otherwise, matfiles can be either of char or cell class.
removevar(matfiles) ask user to select which variables in matfiles to delete removevar(matfiles,varargin) deletes variables that matches varargin in matfiles.
Usage Examples:
removevar
removevar('temp.mat','abc','img')
removevar({'temp1.mat','temp2.mat'},'abc','img')
Cite As
Chaowei Chen (2024). remove varables in MAT file(s) (https://www.mathworks.com/matlabcentral/fileexchange/40532-remove-varables-in-mat-file-s), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |