Info

此问题已关闭。 请重新打开它进行编辑或回答。

Parameterize Instances of a Reusable Referenced Model - only R2017a?

1 次查看(过去 30 天)
Hi there,
I want to use several parametrized instances of a reusable referenced model. However, I am not sure if this is only doable with the R2017a release (I am using an odler version) or if I miss something else.
I have added several Simulink parameters in the model workspace of the model I want to reference and instantiate as described here. The problem is that I cannot find the "Argument" column with a checkbox which should be in the "Contents" pane of the model workspace in the Model Explorer.
Screenshot taken from the documentation link above: <https://de.mathworks.com/help/simulink/ug/xxref_mdlwksp.png>
Is there any other way to work around this? I have tried to mask the model, but this seems only doable for subsystems. But: when I have to change parts I don't want to change every copied subsystem - this is why I think referenced model's are the way to go here.
Current examples for use cases:
  • instances of custom counters (with different values for reset, increment and overflow limit for each instance)
  • instances of custom peripheral drivers (with different GPIO port and GPIO pin numbers for each instance to allow for independent control of each pin; implementation is based on an S-function block)
Kind regards,
Matthias

回答(0 个)

此问题已关闭。

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by