MATLAB Answers

How do I launch or Start MATLAB?

1.085 views (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 15 Dec 2017
Edited: MathWorks Support Team on 15 Dec 2017
How you launch or Start MATLAB depends on your operating system.
Windows
By default the MATLAB installer will create a desktop shortcut to MATLAB and it will also add MATLAB to your Start Menu. If you don’t see MATLAB in your Start Menu, check in “All Programs.”
If the MATLAB installer did not create a shortcut to MATLAB on your desktop or in your Start Menu, matlab.exe is located here by default:
C:\Program Files\MATLAB\R20XXx\bin\matlab
If you have multiple releases of MATLAB installed, each one will have its own folder within C:\Program Files\MATLAB. If you installed 32-bit MATLAB on 64-bit Windows, then the MATLAB folder will be located in C:\Program Files (x86).
macOS
By default MATLAB is installed here:
/Applications/MATLAB_R20XXx
If you have multiple releases of MATLAB installed you will have multiple icons for MATLAB in your /Applications folder corresponding to each release of MATLAB.
Linux
By default the MATLAB installer will create a symbolic link in /usr/local/bin/. This means you should be able to invoke MATLAB by typing “matlab” the command prompt.
If you see an error saying that the command “matlab” was not found, you can launch MATLAB from the MATLAB installation directory. By default this is located here:
/usr/local/MATLAB/R20XXx/bin/matlab
For example, to launch MATLAB R2016b first navigate to the bin directory inside the MATLAB installation directory:
cd /usr/local/MATLAB/R2016b/bin/
Then run matlab:
./matlab
Creating a shortcut or link for MATLAB
If you would rathern not navigate to the location where MATLAB is installed every time you need to launch it, there are a number of ways you can create shortcuts for launching MATLAB. See “<http://www.mathworks.com/matlabcentral/answers/98220 How do I creatre a shortcut or link to MATLAB>“ for instructions.

  5 Comments

Show 2 older comments
Walter Roberson
Walter Roberson on 7 Jan 2018
Paulo: which Linux are you using, and which MATLAB version? There have been a lot of incompatibilities lately with Linux versions, especially with the C library.
WarGorilla
WarGorilla on 17 Feb 2018
I am also having trouble even just running the executable:
C:\Program Files\MATLAB\R2017a\bin\matlab.exe
Windows tells me that it can't find the file, and to make sure that it is spelled correctly.
Image Analyst
Image Analyst on 17 Feb 2018
The fastest solution is to follow the FAQ

Sign in to comment.

More Answers (3)

asante-agyei onwona
asante-agyei onwona on 29 Jun 2017
Your current working folder is: C:\Program Files\MATLAB\R2017a\bin Simulink does not permit you to modify the MATLAB installation area. Please change to a working folder that is not in the MATLAB installation area and re-try the previous command.
Please this is the response am getting when i try to run andrino simulink

  1 Comment

Steven Lord
Steven Lord on 29 Jun 2017
What happened when you did as the error message suggested?
"Please change to a working folder that is not in the MATLAB installation area and re-try the previous command."
Use the cd function to change directories.

Sign in to comment.


Francisco Guillén
Francisco Guillén on 28 Sep 2017
Thanks a lot (;

  0 Comments

Sign in to comment.


N Design
N Design on 21 Mar 2019
Run command. after opening the matlab that was just installed, why always just ask for an activation code, even though it was before.

  1 Comment

Walter Roberson
Walter Roberson on 21 Mar 2019
Does it report error -9 ?

Sign in to comment.

Products


Release

R2010b

Translated by