フィルターのクリア

Matlab on Xfce linux failed to load gtk module

8 ビュー (過去 30 日間)
Tanaphon Sriyim
Tanaphon Sriyim 2021 年 1 月 6 日
回答済み: Bhanu Prakash 2024 年 1 月 18 日
I installed MATLAB2020b on Xfce linux then launch it on terminal.It work fine, but there are four messeages on the termial.I don't know if there are any effect on MATLAB. I've already install both gtk-2 and gtk-3 packages, but it still didn't fix the errors. I'm new on linux, please help. Thank you to anyone who pay attention.

回答 (1 件)

Bhanu Prakash
Bhanu Prakash 2024 年 1 月 18 日
Hi Tanaphon,
I understand that you are getting some messages in the terminal when trying to launch the MATLAB R2020b version on Linux.
The messages that appear in the terminal when starting MATLAB are informational and have no effect on MATLAB.
To supress the messages related to ‘canberra-gtk-module’, run the following commands in a Linux terminal:
  • Install the required package for ‘canberra-gtk-module’ using the following command:
apt-get install libcanberra-gtk-module
  • Set the GTK_PATH using the following command:
If your login shell is ‘bash’:
export GTK_PATH=/usr/lib/x86_64-linux-gnu/gtk-2.0
If your linux shell is ‘tcsh’:
setenv GTK_PATH /usr/lib/x86_64-linux-gnu/gtk-2.0
  • Open MATLAB using the below command:
./matlab
For more information on the above-mentioned commands, refer to the following documentation:
Hope this helps!

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by