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 件のコメント

Walter Roberson
Walter Roberson 2019 年 8 月 16 日
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
Snehal Shinde
Snehal Shinde 2019 年 8 月 16 日
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

1 件のコメント

Snehal Shinde
Snehal Shinde 2019 年 8 月 26 日
Thank you for your reply.

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by