#author("2022-08-09T15:36:08+09:00","default:kouzouken","kouzouken")
#author("2022-08-09T16:11:10+09:00","default:kouzouken","kouzouken")
#contents

*インストール [#t4b5254c]
**Ubuntu [#o07554a9]
-rootになって、/usr/local/MATLABと/usr/local/MATLAB/R2022aを作成
-大学のメールアドレスで、MathWorksのユーザーアカウントを取得
-~/.matlabみたいなディレクトリをつくって、matlab_R2022a_glnxa64.zipをダウンロード
-~/matlabみたいなディレクトリをつくって、matlab_R2022a_glnxa64.zipをダウンロード
-unzipで展開
-rootになって、./installを実行(sudoではXウィンドウを開けないので、rootになってから)
-MathWorksのアカウントとパスワードとかを入力していくと、MATLABのログイン名を要求されるが、これはたぶん、ubuntuのユーザー名(kouzouとか)になっているのではないかと推測する。
-上記のユーザー名が間違っていると、ターミナルからkouzouユーザーで、matlabと入力して起動すると、以下のエラーで起動しない。
 License checkout failed.
 License Manager Error -9
 Your username does not match the username in the license file. 
 To run on this computer, you must run the Activation client to reactivate your license.
 Troubleshoot this issue by visiting: 
 https://www.mathworks.com/support/lme/R2022a/9
 Diagnostic Information:
 Feature: MATLAB 
 License path: /home/kouzou/.matlab/R2022a_licenses:/usr/local/MATLAB/R2022a/licenses/license.dat:/usr/local/MATLAB
 /R2022a/licenses/license_ii21_41082520_R2022a.lic 
 Licensing error: -9,57.

-ユーザー名の間違いを修正するには、/usr/local/MATLAB/R2022a/bin/activate_matlab.sh をrootで実行


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS