How change variable during HIL simulation ?
显示 更早的评论
I need to change the value of the tunable variables during HIL simulation without using Matlab.
I have added the external mode, so I tried to use it the same way that it can change variables in the external mode. For this purpose, I tried using the function:
'void PUBLIC SetParam (RTWExtModeInfo * i, const char * pBuf)'
which is in the file 'ext_svr.c' that reads the received TCP packet and set the params.
I don't know how I can simulate that package. Or any form to set params during simulation without stop it.
Any help? ;)
Thanks in advance
回答(0 个)
类别
在 帮助中心 和 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!