RMVAR Remove variables from MAT-File

RMVAR is a simple program that removes specified variable(s) from a MAT-File
ダウンロード: 13.1K
更新 2008/3/31

ライセンスの表示

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

引用

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. 取得済み .

MATLAB リリースの互換性
作成: R14
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersWorkspace Variables and MAT-Files についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0