Cannot run Matlab on Archlinux. get error:terminate called after throwing an instance of 'std::runtime_error'

I have try to cp 'libglib' to exclude/ and execute the below command on terminal
$ matlab -nodesktop -nodisplay -nosplash
however it still return the same error, the details are:
terminate called after throwing an instance of 'std::runtime_error'
what(): Unable to launch the MATLABWindow application
I have attempted to reinstall it via the complete .iso file, but it's also unhelpful.
My PC is running on Archlinux, Desktop Enviorment is DDE(Deepin Desktop Enviorment) based on GTK2/3.
Linux kernel is 5.0.0, and the Shell is zsh, I wish these details will be helpful.
Both g++ and gcc can work well. So I'm confused that why the matlab throw a C++ error.
I have googled the problem and attempted all the way searched, But all of them cannot resolve this.

 Accepted Answer

I have solved this. the key is to install matlab-support :
yay -S matlab-support
then matlab can works well after installing that!
I wish these can be helpful to you.

More Answers (0)

Categories

Products

Release

R2018b

Asked:

on 13 Mar 2019

Answered:

on 14 Mar 2019

Community Treasure Hunt

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

Start Hunting!