Why does Real Time Workshop create a variable for each DWork vector, instead of only for the specified one, when using the %roll directive?
Show older comments
In the 'Target Language Compiler Directives' section of the Real Time Workshop documentation, it is mentioned that '<DWork>/name' must be used for the definition of 'rollVars' (roll variables) to create the roll structure for a specific DWork vector, 'name'. However, when I use this directive, a variable is created for every DWork vector present in the block instead of only for the specific DWork vector.
Accepted Answer
More Answers (0)
Categories
Find more on Simulink Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!