Clearing the Clutter of Constants in simulations
Version 1.2.0 (33.7 KB) by
Siamak Mohebbi
A suggestion to remove all persistent constants from Simulink models
The primary aim is to demonstrate the need to eliminate setting any persistent constants in simulation and retrieve them from a database (a far better alternative to using MATLAB flat files) by using a S-function. Hence reduce the chance for errors and make the model more readable. Using a variation of earlier submitted material (Matlab Central submit # 72439 )
Cite As
Siamak Mohebbi (2024). Clearing the Clutter of Constants in simulations (https://www.mathworks.com/matlabcentral/fileexchange/91505-clearing-the-clutter-of-constants-in-simulations), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R13SP2
Compatible with R11.1 to R14SP3
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired by: Matlab Database Access Unleashed
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.