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 )
引用格式
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. 检索来源 .
MATLAB 版本兼容性
创建方式
R13SP2
兼容 R11.1 到 R14SP3 的版本
平台兼容性
Windows macOS Linux标签
致谢
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!