Simscape for HDL code generation

I generated different HDL systems for simscape subsystems. Now I want to simulate generated HDL subsystems together. But when I tried to model single HDL compatible system with genrated HDL systems, I receive an error as 'statespaceparam.mat' or 'statespaceparam.cd' is missing. I understand these files were generated during generation of HDL susystems.
My question is how I can simulate all HDL subsystems together ?

2 个评论

I do not know the cause, but I notice there is a statespaceparam.mat in
/Applications/MATLAB_R2019a.app/examples/plantdeployment/statespaceparam.mat
on my system. There appear to be multiple examples mixed in that directory, including https://www.mathworks.com/help/hdlcoder/ug/troubleshoot-generate-implementation-model-from-dc-motor-control.html
Thank you for your reply.
Yes, there is statespaceparam.mat file. But in my case each subsystem generates its own statespaceparam.mat. When I try to update the complete model then statespaceparam.mat file for each subsystem misleads the model parameters.
I want subsystem with corresposnding statespaceparam.mat as a seperate single unit.

请先登录,再进行评论。

 采纳的回答

Kiran Kintali
Kiran Kintali 2019-8-16
编辑:Kiran Kintali 2019-8-19

0 个投票

Support for multiple simscape networks is planned. Please share your usecases or sample models with us support@mathworks.com
In the interim we can provide you a patch for manual stiching of implementation models with unique statespaceparams file.
Thanks

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Model Statistics 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by