Why is there an inefficient loop generated in the initialization function of generated code in Real-Time Workshop 6.0 (R14)?
Show older comments
In generated code, a block's DWork vectors are usually set to zero in the initialization function. The set to zero operations are always done using a for loop even if the widths of the DWork vectors are less than the specified roll threshold.
Accepted Answer
More Answers (0)
Categories
Find more on Texas Instruments C2000 Processors in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!