delvarmat

版本 1.1.0.0 (2.9 KB) 作者: Raymond Norris
Removes a variable from a MAT-file
1.5K 次下载
更新时间 2011/12/12

查看许可证

delvarmat Delete variable(s) from MAT-file
STATUS = delvarmat(FILENAME,VARIABLE1,...) deletes the
variable(s) from the MAT-file.

STATUS = delvarmat(VARIABLE1,...) deletes the variable(s) from
'matlab.mat'

delvarmat returns 1(failure) if either the MAT-file doesn't exist in
the current directory or if anyone of the listed variables don't
exist in the MAT-file. delvarmat returns 0(success) otherwise.

Note: If delvarmat can not find a particular variable in a MAT-file,
even though it will return an error status, any variables already
deleted will stay removed from the MAT-file.

Because the File Exchange doesn't allow for MEX-files, the C-code is included here to compile the code

>> mcc delvarmat.c

Supplied with an accompanying M-file for the HELP entry.

引用格式

Raymond Norris (2024). delvarmat (https://www.mathworks.com/matlabcentral/fileexchange/162-delvarmat), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R13
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Variables 的更多信息
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.0.0

Minor update.

1.0.0.0