Interactive Parameter tuning with rsim target and structure parameters

Hello,
I tried to apply the following tutoriel to run simulation with differents model parameters (on matlab r2010a) :
However, I use a structure in my simulink blocks (typically, the gain has the following parameters : My_Model.K).
Thus the rsimgetrtp function return an empty map in the rtp structure.
I found some advice in this example :
But the rsimgetrtp function still return an empty map.
I struggle passing the new data to my compiled model, as I'm stuck with the rsimgetrtp method.
Any would be appreciated!
Regards,
Sébastien

1 commentaire

I know this is an old thread, but did you ever resolve this problem? I have encountered the same thing and cannot find a work around.
Rob

Connectez-vous pour commenter.

Réponses (0)

Question posée :

le 25 Juin 2013

Commenté :

le 20 Août 2015

Community Treasure Hunt

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

Start Hunting!

Translated by