Define/Undefine Constants

Define and undefine constant variables with no use of global
2.9K Downloads
Updated 12 Jan 2007

View License

these two functions define and undefine variable constants like the #define
preprocessor command in C.
No global variables are used.
Tested on R2006b
See help for each file

Cite As

Ruben Faibish (2026). Define/Undefine Constants (https://www.mathworks.com/matlabcentral/fileexchange/13622-define-undefine-constants), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0