simulink killed on ubuntu

5 Ansichten (letzte 30 Tage)
Francesco Simonetti
Francesco Simonetti am 30 Dez. 2021
I am trying to run a Simulink simulation with a lot of scopes that store data. If I run the simulation with short stop time, all goes fine. But if I use a larger stop time, when the simulation should stop, the process is killed. It is a memory problem?
What should I do?
Thanks for the help.
  4 Kommentare
Paul
Paul am 30 Dez. 2021
Interesting. I have a case on Windows where Matlab and Simulink are killed immediately upon the simulation coming upon some error condition (I think it was taking the sqrt of a negative number). So not really the same as yours except that Matlab and Simulink both are killed. Unfortunately, tech support couldn't recreate my problem (the simulation quit gracefully as it should) and therefore couldn't help.
Francesco Simonetti
Francesco Simonetti am 30 Dez. 2021
I don't know if this can hellp, when I run matlab I see these error messages:
MATLAB is selecting SOFTWARE OPENGL rendering.
MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: impossibile aprire il file oggetto condiviso: File o directory non esistente (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
failed to load driver: iris
MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: impossibile aprire il file oggetto condiviso: File o directory non esistente (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: impossibile aprire il file oggetto condiviso: File o directory non esistente (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
failed to load swrast driver
Gtk-Message: 15:37:44.636: Failed to load module "overlay-scrollbar"
Gtk-Message: 15:37:44.644: Failed to load module "canberra-gtk-module"
and when the matlab quits I see this message:
) = ?
+++ killed by SIGKILL +++

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Francesco Simonetti
Francesco Simonetti am 30 Dez. 2021
I solved the problem by increasing swap memory.
Thanks.

Kategorien

Mehr zu View and Analyze Simulation Results finden Sie in Help Center und File Exchange

Produkte


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by