cvar: a pedestrian variable name checker

Version (3.1 KB) by us
CVAR checks the names of variables for potential conflicts with know functions or built-ins
Updated 1 Jun 2010

View License

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...

>> help cvar;
and the screenshot for information and examples for this rather self-explanatory snippet

Cite As

us (2024). cvar: a pedestrian variable name checker (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Variables in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

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