RMVAR Remove variables from MAT-File
by Frederic Moisy
31 Mar 2008
(Updated 31 Mar 2008)
RMVAR is a simple program that removes specified variable(s) from a MAT-File
|
Watch this File
|
| File Information |
| Description |
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 |
| MATLAB release |
MATLAB 7 (R14)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (2) |
| 08 Sep 2008 |
luo guoping
|
|
|
| 18 Jun 2010 |
B
|
|
|
|
Contact us at files@mathworks.com