SImulink do not terminate

14 visualizzazioni (ultimi 30 giorni)
faisal ahmed
faisal ahmed il 11 Set 2017
Commentato: Weiliem Abubakar il 14 Giu 2018
During my Simulink Simulation, the program eats all the RAM and I could not able to get the Workspace data. By using all the RAM, the program do not terminates. It takes 3 hours to complete but do not terminate at the end.
Can anybody suggest solution to this problem ?

Risposta accettata

Sebastian Castro
Sebastian Castro il 11 Set 2017
Yes. You should reduce the amount of logged data in the Data Import/Export section of the model's configuration parameters. There are a few options in there, including "Limit Data Points" and "Decimation". I'd refer to this link:
Also, if you have any Scope blocks in your model, those can eat up a ton of RAM because they store the visualization data in memory and they also have their own logging options.
- Sebastian
  1 Commento
Weiliem Abubakar
Weiliem Abubakar il 14 Giu 2018
Hai Sebastian,
Do you have any suggestion if we want to apply to all blocks? because i have at least 160 blocks and it takes so much time to do that. thank you in advance

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Event Functions in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by