필터 지우기
필터 지우기

deactive license from terminal

조회 수: 16 (최근 30일)
Hugo Linder
Hugo Linder 2023년 11월 22일
댓글: Image Analyst 2023년 11월 23일
I want to deactivate a "R2017b update 9" matlab license on a linux computer that does not have a GUI or internet connection. I am not able to deactivate via the standard method "On the home tab, choose Help > Licensing > Deactivate Software."
  댓글 수: 1
Hugo Linder
Hugo Linder 2023년 11월 23일
편집: Hugo Linder 2023년 11월 23일
I tried bash deactivate_matlab.sh:
"Error: There is no display set. The deactivation process
requires that an X display be set." (again, this computer has no GUI/ display)
I guess my particular situation is not supported. I am proceeding with https://mathworks.com/matlabcentral/answers/99859-how-can-i-deactivate-matlab-on-a-machine-i-cannot-access and the deactivation agreement. Thank you.

댓글을 달려면 로그인하십시오.

채택된 답변

Shivang
Shivang 2023년 11월 23일
Hi Hugo,
I understand that you wish to deactivate MATLAB on a Linux machine using the terminal.
There is a shell script, "deactivate_matlab.sh", located inside "matlabroot/bin", to manually start the deactivation process. Refer to this MATLAB Answer for more details: https://mathworks.com/matlabcentral/answers/100663-how-do-i-deactivate-matlab
If you are still unable to generate a deactivation string, you can follow the steps listed here: https://mathworks.com/matlabcentral/answers/99859-how-can-i-deactivate-matlab-on-a-machine-i-cannot-access
Hope this helps.
-Shivang
  댓글 수: 3
Shivang
Shivang 2023년 11월 23일
As per the documentation (https://mathworks.com/help/install/ug/deactivate-an-installation.html#mw_160d8c35-91de-48ce-8ea9-6869379e6346), a deactivation string is generated even for offline systems, which can then be used to deactivate the license on the website. I am curious, is this not the case?
Image Analyst
Image Analyst 2023년 11월 23일
"which can then be used to deactivate the license on the website" <== which you can't get to if there is no internet connection. Perhaps you can take that string to another computer that does have an internet connection (as your link says) and use it there somehow, but if you can do that, then you can just login to your account and deactivate it that way, with no string from the other computer needed.
Personally what I'd do is to, from another internet connected computer) login and deactivate the non-internet computer. Then try just uninstalling it, which will get rid of it but not notify Mathworks that it is gone, but since you've done that already, it should be gone and completely off the computer and off the Mathworks list of activated computers.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by