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 Kommentare

Walter Roberson
Walter Roberson am 16 Aug. 2019
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 am 16 Aug. 2019
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.

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Kiran Kintali
Kiran Kintali am 16 Aug. 2019
Bearbeitet: Kiran Kintali am 19 Aug. 2019

0 Stimmen

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

Weitere Antworten (0)

Kategorien

Community Treasure Hunt

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

Start Hunting!

Translated by