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 Comment

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

Sign in to comment.

Answers (0)

Asked:

on 25 Jun 2013

Commented:

on 20 Aug 2015

Community Treasure Hunt

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

Start Hunting!