소프트웨어 다운로드 (Download Software)
- Go to the https://www.mathworks.com/downloads/
- Download the installation file and unzip the file.
설치 (Installation)
- unzip the installation file to anywhere you like.
- open terminal, type the command below:
sudo sh install
change any settings as you see fit and install the software to its preferred location
/usr/local/MATLAB
- active MATLAB with your credentials
Matlab 실행 (Open MATLAB)
- press CTRL+ALT+T to open a terminal window.
- move to the Matlab folder
- cd /usr/local/MATLAB/R2020a/bin
- then open Matlab desktop.
- ./matlab
(Optional) Create desktop entry
Type the following commands in the terminal.
sudo wget http://upload.wikimedia.org/wikipedia/commons/2/21/Matlab_Logo.png -O /usr/share/icons/matlab.png
sudo touch /usr/share/applications/matlab.desktop
sudo gedit /usr/share/applications/matlab.desktop
Paste the following into the document and save it. (You may need to
update the path to the matlab executable file if it is not installed in
the default location, e.g. Exec=/usr/local/MATLAB/R2020a/bin/matlab -desktop
)
#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Icon=/usr/share/icons/matlab.png
Name=MATLAB R2020a
Comment=Start MATLAB - The Language of Technical Computing
Exec=/usr/local/MATLAB/R2020a/bin/matlab -desktop -useStartupFolderPref
Categories=Development;
Press super
and then you should be able to find the MATLAB icon in the Unity Search.
(Optional) Change initial working directory
By default, Matlab startups with the folder in which you run the
matlab command. To use the folder specified by the Initial working
folder preference, use the -useStartupFolderPref
startup option and change the initial working directory as below.
On the Home
tab, in the Environment section, click Preferences
Select MATLAB
> General
. Choose an option for the Initial working folder
preference.
'연구 관련' 카테고리의 다른 글
How to Convert Image to Base64 String in Python (0) | 2022.05.20 |
---|---|
ROS1 vs. ROS2 (Short Description) (0) | 2022.03.09 |
How to clear the ubuntu terminal (0) | 2021.09.17 |
QGC full window (missing title bar) (0) | 2020.10.17 |