How to set simulink dll parameters
显示 更早的评论
I don´t know if it is possible but I am going to ask. I have a simulink model which has differente parameters to configure the model. My idea is to generate the dll from the model and then configure the values off the dll before use model_initialize and model_step functions. Is it possible? or the values of the dll (model_B and model_P) are always static?
thank you
回答(1 个)
Varun Bhaskar
2015-12-17
0 个投票
Hi,
You can tune the parameters model_P and model_B before running.
The Embedded Coder® product provides an ERT target, ert_shrlib.tlc, for generating a host-based shared library from your Simulink® model
2 个评论
ander
2015-12-18
Alexandru Matei
2016-1-11
Hi Ander, Did you found out anything regarding that command to set external variable of dll ?
Thank you
类别
在 帮助中心 和 File Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!