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 comentario

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

Iniciar sesión para comentar.

Respuestas (0)

Preguntada:

el 25 de Jun. de 2013

Comentada:

el 20 de Ag. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by