simulink does not start on solus

I am using matlab on solus (a Linux distribution). Simulink does not start and matlab crashes. I attached three crash files. I am aware, that solus is not official supported.

 採用された回答

jonmal
jonmal 2018 年 1 月 27 日
編集済み: jonmal 2018 年 1 月 27 日

2 投票

My Solution to solve the Problem, in case that anybody else is interested in this. Any changes I describe can be undone, in case that it is not working.
$matlabroot corresponds to the matlab-root-path in the following.
1. create an exlude folder in $matlabroot/bin/glnxa64/ and move the following libraries into the folder: libfreetype.so*. Then create a link from the system-libraries into $matlabroot/bin/glnxa64/
mkdir $matlabroot/bin/glnxa64/exclude
mv $matlabroot/bin/glnxa64/libfreetype.so* $matlabroot/bin/glnxa64/exclude
ln -s /usr/lib64/libfreetype.so.6* $matlabroot/bin/glnxa64/
2. create an exlude folder in $matlabroot/cefclient/sys/os/glnxa64 and move the following files into that folder: libglib-2.0.so*
mkdir $matlabroot/cefclient/sys/os/glnxa64/exclude
mv $matlabroot/cefclient/sys/os/glnxa64/libglib-2.0.so* $matlabroot/cefclient/sys/os/glnxa64/exclude

その他の回答 (1 件)

Darshan Ramakant Bhat
Darshan Ramakant Bhat 2018 年 1 月 16 日

0 投票

Solus is not officially supported for MATLAB. However, please try the workaround suggested in the below External Bug Report link:

2 件のコメント

jonmal
jonmal 2018 年 1 月 27 日
編集済み: jonmal 2018 年 1 月 27 日
Thanks for the reply. With the help of the workaround and some other hints I got using
! bin/glnxa64/MATLABWindow
I got Simulink to work. For better readability I write my solution in a separate answer.
jonmal
jonmal 2018 年 1 月 27 日
Actually the workaround seems to cause problems when using an AMD Graphics Card, I have therefore removed the workaround from my solution.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

質問済み:

2018 年 1 月 13 日

編集済み:

2018 年 1 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by