How to reduce the C code generation time on Simulink?
Mostrar comentarios más antiguos
I am currently working on a project (modelisation a magnetic bearing with a rotor) and I have noticed that it requires about eleven hours for C-code generations that is very annoying. I tried to reduce my model in that way : now for the modelisation of my rotor I only have two continuous integrator and a gain but the C-code generation still requires 2h30... I really don't know how I could fix this problem.. :(
Respuestas (2)
Mark McBroom
el 24 de Abr. de 2019
0 votos
Approx how many blocks are in your model? Are you using basic Simulink blocks are are you using Simscape blocks?
Marnaud NDUNGU
el 25 de Abr. de 2019
Editada: Marnaud NDUNGU
el 25 de Abr. de 2019
0 votos
2 comentarios
Mark McBroom
el 25 de Abr. de 2019
It does not make sense that this model would take so long to generate code. I suggest you contact support@mathworks.com and send them your model.
Marnaud NDUNGU
el 3 de Mayo de 2019
Categorías
Más información sobre Simulink Coder en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

