0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Install MATLAB to Ubuntu20.04

Last updated at Posted at 2022-11-17

インストール手順

1.MathWorks公式HPよりLinux用をダウンロードする。

2.ターミナルを立ち上げ、以下の手順に沿ってインストールする(user@PC:~$省略)。

まず、zipファイルをダウンロードする。

cd ~/Downloads
mkdir matlabR2022bforunzip
mv ~/Downloads/matlab_R2022b_glnxa64.zip ~/Downloads/matlabR2022bforunzip

解凍する。

cd ~/matlabR2022bforunzip
unzip matlab_R2022b_glnxa64.zip

エラーが出ないようにする。

cd
sudo mkdir -p /usr/local/MATLAB/R2022b
sudo chmod 777 /usr/local/MATLAB/R2022b
sudo chmod 777 /usr/local/bin
xhost +SI:localuser:root

インストールする。すると、インストーラーが起動するので必要事項を入力する。

cd ~/Downloads/matlabR2022b/
./install

インストールが完了したらMATLABを起動する。

cd /usr/local/MATLAB/R2022b/bin/
./matlab

起動後、ターミナルにメッセージが現れるが、バグレポートより、以下のメッセージは情報提供を目的としており、MATLAB には影響しない。

Gtk-Message: 12:34:56.789: Failed to load module "canberra-gtk-module"

以上。


QiitaLink
Designed by RENOX

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?