CVAR checks the names of
- variable(s) in the current workspace
- variable(s) not yet defined
for conflicts with known
- ML stock functions
- built-in functions
- user defined functions
cvar; % check current variables in the callers workspace...
cvar a b pi; % check validity of input...
see
>> help cvar;
and the screenshot for information and examples for this rather self-explanatory snippet
引用格式
us (2024). cvar: a pedestrian variable name checker (https://www.mathworks.com/matlabcentral/fileexchange/27797-cvar-a-pedestrian-variable-name-checker), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2007b
兼容任何版本
平台兼容性
Windows macOS Linux类别
- MATLAB > Programming > Functions > Variables >
在 Help Center 和 MATLAB Answers 中查找有关 Variables 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!