Command line only Ubuntu 20

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'

回答(1 个)

Nicholas
Nicholas 2022-11-29

3 个投票

Solved. I needed to install a missing library.
sudo apt install libxt6

类别

帮助中心File Exchange 中查找有关 Startup and Shutdown 的更多信息

产品

版本

R2022b

标签

提问:

2022-11-29

回答:

2022-11-29

Community Treasure Hunt

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

Start Hunting!

Translated by