install matlab on a server with no gui, no sudo right

18 次查看(过去 30 天)
Hi,
I am trying to install matlab on a server with no gui and no sudo rights using the following cmd:
./install -inputFile installer_input.txt
In the "installer_input.txt" file, we need to specify fileInstallationKey. How can we get a licence number when we are using only the free 1 month trail option? I can't find it in my account.
Thank you for your help

回答(2 个)

Sugandhi
Sugandhi 2023-5-1
Hi Yasmina Mekki,
I understand that you are trying to install matlab on a server with no gui , no sudo rights and searching for fileInstallationKey in "installer_input.txt".
If you are using the free one-month trial option of Matlab, you do not need to specify a file installation key in the "installer_input.txt" file. You can simply leave that field blank.
Here is an example of how the "installer_input.txt" file should look like for a Matlab installation without specifying a file installation key:
destinationFolder=/path/to/installation/folder
agreeToLicense=yes
mode=silent
Make sure to replace "/path/to/installation/folder" with the actual path where you want to install Matlab.

Yasmina Mekki
Yasmina Mekki 2023-5-14
编辑:Yasmina Mekki 2023-5-14
Hi Sugandhi,
Thank you for your quick reply.
The issue persists. Here is the message that I got:
End of the file installer_input.txt
(May 13, 2023 19:36:15) Session key: bb5369f4-7894-4ea6-8a30-e08d2bf81d70
(May 13, 2023 19:36:15) Product Files Folder: /data100t1/home/mekkiy/opt/matlab/archives
(May 13, 2023 19:36:16) License Agreement validation is successful.
(May 13, 2023 19:36:16) File Installation Key not detected. Generate a key in License Center on mathworks.com and uncomment the line.
(May 13, 2023 19:36:16) Exiting with status -2
(May 13, 2023 19:36:16) End - Unsuccessful
Thank you!

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by