I get this error while launching Matlab and therefore it crashes while doing certain processes. Any solution ?

5 views (last 30 days)
The Crash occurs while performing the first step in STAMPS PSI processing during loading the initial candidate PS pixels and stores them in MATLAB workspace files. I made sure there's at least 69 gb of free space. I also performed very basic arithmatic operations since I am a beginner in Matlab just to make sure the program would function properly. When the crash occurs, the system become too laggy for a while

Answers (1)

Vinay
Vinay on 29 Jan 2025
Hi @Shadi,
The following steps can be used to include the 'gtk module'
  1. 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:
>> 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!

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!