Runnin Simulink without GUI
조회 수: 4 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
답변 (1개)
Kaustav Bhattacharya
2021년 1월 29일
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File 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!