Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Parameterize Instances of a Reusable Referenced Model - only R2017a?

조회 수: 1 (최근 30일)
Matthias Weber
Matthias Weber 2017년 6월 16일
마감: MATLAB Answer Bot 2021년 8월 20일
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