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 件のコメント

Robert Noble
Robert Noble 2015 年 8 月 20 日
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

サインインしてコメントする。

回答 (0 件)

質問済み:

2013 年 6 月 25 日

コメント済み:

2015 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by