Borrar filtros
Borrar filtros

Is it possible to purge Simulink Model?

1 visualización (últimos 30 días)
legendbb
legendbb el 3 de Mayo de 2013
Respondida: Kiran Kintali el 24 de Mayo de 2021
I have a large model, after some work (opened and saved between R2012b and R2013a). The code generation (HDL) becomes extremely slow. From previous 30 seconds to 20 mins for same code generation settings.
Through the process, don't see large memory usage, just CPU are kept 100% from core to core. Can't find out what MATLAB is doing.
I've already tried: rebooting, deleting compiled things, removing code generation folders. None of them helped.
My thought of moving forward to get my speed back is to restore from backup or starting new (which is tremendous amount of work).
Just wondering if there is some sort of purge or rest mechanism already built in Simlink.

Respuestas (1)

Kiran Kintali
Kiran Kintali el 24 de Mayo de 2021
attached sample file can be extended to purge whatever cruft you have in your session.
>> purgesession
Purging slprj
Purging hdl_prj
Purging hdlsrc

Categorías

Más información sobre HDL Coder en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by