Define/Undefine Constants
Version 1.0.0.0 (4.15 KB) by
Ruben Faibish
Define and undefine constant variables with no use of global
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 (2024). 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 LinuxCategories
- Simulink > Block and Blockset Authoring > Author Block Algorithms > Author Blocks Using MATLAB > Author Blocks Using MATLAB System Objects > Customize System Objects for Simulink >
Find more on Customize System Objects for Simulink in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |