simulink killed on ubuntu

5 views (last 30 days)
Francesco Simonetti
Francesco Simonetti on 30 Dec 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 Comments
Paul
Paul on 30 Dec 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 on 30 Dec 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 +++

Sign in to comment.

Answers (1)

Francesco Simonetti
Francesco Simonetti on 30 Dec 2021
I solved the problem by increasing swap memory.
Thanks.

Categories

Find more on View and Analyze Simulation Results in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!