Filter löschen
Filter löschen

Simulink Real-Time referenced models

5 Ansichten (letzte 30 Tage)
Lennart van Bremen
Lennart van Bremen am 13 Feb. 2019
Beantwortet: Gautham Ponnu am 22 Feb. 2019
I can successfully execute the example given in 'Tune Inlined Parameters with Simulink Real-Time Explorer'
However, once I try to add a referenced model, the tunable parameter disappears from Simulink Real-Time Explorer. Even for simple, empty and unconnected referenced models, the parameter tuning seems to break. I do want to use the features of referenced models.
How can I get referenced models to work together with global parameter tuning?
I am using Matlab 2014b with a SpeedGoat target. Block parameter tuning seems to work fine, as well as the referenced models themselves. Just global parameter tuning stops working when a referenced model is added.

Akzeptierte Antwort

Gautham Ponnu
Gautham Ponnu am 22 Feb. 2019
For referenced models, you will have to create parameter objects.
>> tunablevars2parameterobjects('parent')

Weitere Antworten (0)

Produkte


Version

R2014b

Community Treasure Hunt

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

Start Hunting!

Translated by