Turning on the 'Optimize using the specified minimum and maximum values' setting seems to remove critical code
Show older comments
Hi, I'm using Embedded Coder to generate code for my model. In the Config Params under 'Optimization', there is a setting called 'Optimize using the specified minimum and maximum values'. I observe that when this setting is off, I'm able to generate code for my model as desired. However, when this setting is turned on, I observe code corresponding to a part of a subsystem to be removed ("optimized" away) and this is undesirable.
Is this a bug?
Accepted Answer
More Answers (0)
Categories
Find more on Manual Performance Optimization 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!