Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Parameterize Instances of a Reusable Referenced Model - only R2017a?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (0)
Diese Frage ist geschlossen.
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!