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 comentarios

Walter Roberson
Walter Roberson el 16 de Ag. de 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 el 16 de Ag. de 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.

Iniciar sesión para comentar.

 Respuesta aceptada

Kiran Kintali
Kiran Kintali el 16 de Ag. de 2019
Editada: Kiran Kintali el 19 de Ag. de 2019

0 votos

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

Más respuestas (0)

Categorías

Preguntada:

el 16 de Ag. de 2019

Comentada:

el 26 de Ag. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by