M HYPE SPLASH
// general

Installing Matlab r2017b: cannot open matlab

By Michael Henderson

I'm trying to install matlab r2017b. The installation process is done without any problems but now I can't open matlab. (In installation I chose the one it says I have a license file. I entered my license key but it did not ask for license file)

Preparing installation files ...
Installing ...
Finished
matlab
matlab: command not found
export PATH=/usr/local/MATLAB/R2017a/bin:$PATH
alias matlab=’LD_PRELOAD=/usr/lib64/libstdc++.so.6 matlab -desktop’
bash: alias: -desktop’: not found

I also tried to start license manager but it failed.

cd /usr/local/MATLAB/R2017b/etc/
/usr/local/MATLAB/R2017b/etc$ ./lmstart
bash: ./lmstart: No such file or directory
7

1 Answer

You're trying to use typographic quotation marks in the shell interpreter which fails. I presume you copied that command from some web site and the author’s text editing tool or web content management system tried to be smart and converted the original plain quotation marks to make them prettier.

You need to replace them and use plain quotation marks instead:

alias matlab='LD_PRELOAD=/usr/lib64/libstdc++.so.6 matlab -desktop'

or

alias matlab="LD_PRELOAD=/usr/lib64/libstdc++.so.6 matlab -desktop"
0

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy