cvar: a pedestrian variable name checker

CVAR checks the names of variables for potential conflicts with know functions or built-ins

You are now following this Submission

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

Cite As

us (2026). cvar: a pedestrian variable name checker (https://www.mathworks.com/matlabcentral/fileexchange/27797-cvar-a-pedestrian-variable-name-checker), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

displays validity during runtime; version tag 31-May-2010 10:26:45

1.0.0.0