Friday, March 8, 2019

software installation - Installing Matlab r2017b: cannot open matlab




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



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"

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...