Runnin Simulink without GUI

6 次查看(过去 30 天)
Alessandro
Alessandro 2019-11-10
Hello,
I'm trying to run Simulink on a linux cluster that doens't have X installed. When I try to load my model with load_system('model.slx') I get the following error:
'/***/apps/MatlabR2018a/bin/glnxa64/libmwsimulink.so':
libXcomposite.so.1: cannot open shared object file: No such file or directory
I've found previous answers in the past that suggest to add this library to an exlude folder, but I don't have any admin privilege to do so or to install libXcomposite. However, since I need to run the script in batch, I don't need to interatct with any windows or GUI.
Is there a way to run Simulink without GUI /X /this library?
Thank you

回答(1 个)

Kaustav Bhattacharya
This error may occur if you are launching it from $MATLAB/bin/glnxa64/ (or, for 32 bit versions, $MATLAB/bin/glnx86/). -Where $MATLAB represents the MATLAB installation directory.
Instead, try launching it from $MATLAB/bin/matlab.

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by