Modifying parameters in compiled Simulink model on Raspberry Pi
4 次查看(过去 30 天)
显示 更早的评论
Hi,
I would like to modify the value of a parameter (e.g. a constant) in my Simulink model while deployed on the target hardware, in my case a Raspberry Pi.
I assume I would need to get hold of the memory address of the specific parameter and then modify it by means of say Python or C. Is there a way to do this?
Regards,
Soeren
0 个评论
回答(1 个)
Prasanth Sunkara
2021-10-21
Hi Soeren,
Have you tried "Monitor & Tune workflow" (a.k.a External mode) with Raspberry Pi support package.
Simulink's External mode feature enables you to accelerate the process of parameter tuning by letting you change certain parameter values while the model is running on target hardware, without stopping the model.
For more info please see:
Hope this helps!
Thanks,
Prasanth
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Raspberry Pi Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!