Model Transformation: Simulink
From UcgnWiki
(→Overview) |
(→Overview) |
||
Line 9: | Line 9: | ||
These were some of the design requirements for the UCGN output: | These were some of the design requirements for the UCGN output: | ||
* Clearly readable source-code | * Clearly readable source-code | ||
- | * Separation of functionality and parameters ("tunable parameters") | + | * Separation of functionality and parameters ("tunable parameters")<ref>Let's say we want to use the workspace parameters AlphaMax = 12.0 as a tunable parameter. If a Gain block then contains "1.25 * AlphaMax" the resulting code must under no circumstances have the hard-coded value 15 in that place.</ref> |
* Robust data storage (compile-time static structures in favor of pointer run-time constructs) | * Robust data storage (compile-time static structures in favor of pointer run-time constructs) | ||
* Clear software architecture, direct correspondence to the model architecture | * Clear software architecture, direct correspondence to the model architecture |