[SOLVED] Installed MATLAB in /home/c/Desktop/MATLAB But Cannot ACCESS it
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Look in the folder it's installed to for a binary file of some sort. A lot of times people will put a .run or a .sh file in the folder that you can execute. If there's a Readme check that out.
You did make sure to grab the Linux version right? Windows .exe files will not execute in Linux without special software.
Is the directory containing the executable in your PATH? If it isn't (and you're not using the full path to it), you'll get the "command not found" error.
The installation process at some point asks you if you want to create symbolic links to the matlab executable in /usr/local/bin. Maybe you didn't notice that, but you can always create them later as root:
Code:
cd /usr/local/bin
ln -s /home/c/Desktop/MATLAB/bin/matlab .
ln -s /home/c/Desktop/MATLAB/bin/mex .
Instead of creating a symbolic link you can create a launcher on your Desktop that points to the executable. Just right click your desktop and click "Create Launcher". I'm not sure if that functionality is still there depending on what version of Ubuntu you're running. I'm still using Gnome 2 in Debian. You could make a symbolic link and it should work just fine, but by making a "Launcher" you could set your own icon and everything, :-)
Creating the symbolic links in /usr/local/bin just makes matlab available to all the users that have /usr/local/bin on their PATH (all the users by default). However it has nothing to do with desktop/panel shortcuts. You have to create them as dudeman41465 suggested. In the newly created launcher set the Executable/Application to setsid and the command line arguments to /usr/local/bin/matlab -desktop. This is the method suggested by Mathworks support.
Regarding mex it is an utility that allows you to interface C/C++ or Fortran routines to Matlab. You can think at it as a compiler where the final executable is a matlab command (mex file). You can run the mex compiler outside matlab (using the mex command you've linked in /usr/local/bin) or from the matlab command line.
I don't know what you mean by "scroll to it specifically", but colucix explained the point of creating symbolic links in /usr/local/bin in the very first sentence of post 7.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.