I have a model in which I have marked two identical subsystems as atomic and set to "Reusable Function" for Real-Time Workshop code generation. The input to these subsystems is a variable sized signal. However, I see in the generated code that the code is not generated as a reusable single function, but rather two functions are created. Why?
MATLAB: Does Real-Time Workshop 7.5 (R2010a), not generate a reusable function for the atomic subsystem with variable sized signal input or outputs
functionreusablesimulink codersize;variable
Related Question
- Is it possible to eliminate the BlockIO contents when generating code
- How to find best practices for modeling buses for simulation and code generation using Real-Time Workshop Embedded Coder
- Are atomic subsystems that have reusable function packaging not made reusable when used within enabled subsystems
- Does Real-Time Workshop 6.0 (R14) include an extra copy of bus signals in a model’s generated code
- How to break a saved signal into pieces according to when the subsystem that produces it is reset
- Is there a way to create a function from a model in Simulink, using Code Generation, so that this function can be used independantly as part of any other code project
Best Answer