Command line only Ubuntu 20

12 views (last 30 days)
Nicholas
Nicholas on 29 Nov 2022
Answered: Nicholas on 29 Nov 2022
I'm attempting to run Matlab R2022B on Ubuntu20 with no GUI using the nodesktop option. I'm getting an error message that makes me think Matlab is trying to activate some element of the GUI. Does anyon have any advice for me to try?
Thanks,
Command and terminal output are below:
/usr/local/R2022B/bin/matlab -nodesktop
MATLAB is selecting SOFTWARE OPENGL rendering.
Unexpected exception: 'N7mwboost10wrapexceptINS_16exception_detail39current_exception_std_exception_wrapperISt13runtime_errorEEEE: Error loading /usr/local/R2022B/bin/glnxa64/matlab_startup_plugins/matlab_graphics_ui/mwuixloader.so. libXt.so.6: cannot open shared object file: No such file or directory: Success: Success' in createMVMAndCallParser phase 'Creating local MVM'
I aso tried:
/usr/local/R2022B/bin/matlab -nodesktop -nodisplay -nosplash
Unexpected exception: 'N7mwboost10wrapexceptINS_16exception_detail39current_exception_std_exception_wrapperISt13runtime_errorEEEE: Error loading /usr/local/R2022B/bin/glnxa64/matlab_startup_plugins/matlab_graphics_ui/mwuixloader.so. libXt.so.6: cannot open shared object file: No such file or directory: Success: Success' in createMVMAndCallParser phase 'Creating local MVM'

Answers (1)

Nicholas
Nicholas on 29 Nov 2022
Solved. I needed to install a missing library.
sudo apt install libxt6

Categories

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

Tags

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!