RMVAR Remove variables from MAT-File

RMVAR is a simple program that removes specified variable(s) from a MAT-File
13,1K téléchargements
Mise à jour 31 mars 2008

Afficher la licence

RMVAR FILENAME VAR1 VAR2... removes the variables VAR1, VAR2... from the Mat-File FILENAME. If FILENAME has no extension RMVAR looks for FILENAME.mat

RMVAR('Filename','VAR1','VAR2' ...) does the same.

Example:
% Creates a file 'myfile.mat' containing 2 variables:
a='hello';
b=magic(3);
save myfile.mat a b
% Removes the variable 'a' and opens the result
clear
rmvar myfile a
load myfile
whos

Citation pour cette source

Frederic Moisy (2024). RMVAR Remove variables from MAT-File (https://www.mathworks.com/matlabcentral/fileexchange/19384-rmvar-remove-variables-from-mat-file), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R14
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Workspace Variables and MAT-Files dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0.0