- Open a new terminal and navigating to a directory where you would like to store the new startup script. Then create the new startup script with the touch command, for an example:
I get this error while launching Matlab and therefore it crashes while doing certain processes. Any solution ?
5 ビュー (過去 30 日間)
古いコメントを表示

0 件のコメント
回答 (1 件)
Vinay
2025 年 1 月 29 日
The following steps can be used to include the 'gtk module'
>> touch matlab_start.sh
2. Open the new startup script and copy the following into it:
#!/bin/bash
export GTK_PATH=/usr/lib/x86_64-linux-gnu/gtk-2.0
./<full_path_to_original_matlab_executable>
The <full_path_to_original_matlab_executable> would be replaced with the matlab executable path. If you have installed MATLAB in the default path, that would be matlabroot/bin/matlab.
Note: matlabroot is the name of the folder in which MATLAB is installed.
Refer to the below documentation for more details:
I hope this would resolve the query!
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!