How do I launch or start MATLAB?
조회 수: 511 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2011년 4월 29일
편집: MathWorks Support Team
2023년 5월 2일
How do I launch or start MATLAB?
채택된 답변
MathWorks Support Team
2022년 12월 26일
편집: MathWorks Support Team
2021년 12월 21일
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 rather 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 “How do I create a shortcut or link to MATLAB“ for instructions.
댓글 수: 1
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!