Can I tune a structure field or a parameter type of non-double with Simulink Design Optimizer 1.1(R2009b)?
1 view (last 30 days)
Show older comments
I have a parameter in a model that is the field of a structure. For example, for the "Value" field in the dialog box of a Gain block, I may dereference a structure such as struct.gainval. I wish to use Simulink Design Optimizer on this field but I am not able to select it from the tunable parameters list because it is not there.
Accepted Answer
MathWorks Support Team
on 24 Nov 2009
It is not possible to select a structure or the field of a structure for a tunable parameter in Simulink Design Optimizer 1.1 (R2009b).
As a workaround, you must create a scalar double from the structure and use the parameter of type double in the dialog box.
0 Comments
More Answers (0)
See Also
Categories
Find more on Simulink Design 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!