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!