MATLAB Answers

1

How do I launch or Start MATLAB?

How do I launch or Start MATLAB?

Products


Release

R2010b

4 Answers

回答者: MathWorks Support Team 2017 年 12 月 15 日
編集済み: MathWorks Support Team 2017 年 12 月 15 日
 採用された回答

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

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 2018 年 2 月 17 日
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
on 17 Feb 2018
The fastest solution is to follow the FAQ

Sign in to comment.


回答者: asante-agyei onwona 2017 年 6 月 29 日

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
2017 年 6 月 29 日
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 2017 年 9 月 28 日

Thanks a lot (;

  0 Comments

Sign in to comment.


回答者: N Design
2019 年 3 月 21 日

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
2019 年 3 月 21 日
Does it report error -9 ?

Sign in to comment.