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

15 views (last 30 days)
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

Answers (2)

Sugandhi
Sugandhi on 1 May 2023
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 on 14 May 2023
Edited: Yasmina Mekki on 14 May 2023
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!
  2 Comments
Sugandhi
Sugandhi on 14 May 2023
Hi,
Can you please share "installer_input.txt" we us, for further assistence?

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!