How do I pass username and password for a named user license with no GUI on linux
Show older comments
I have Matlab R2024A installed on a linux computer with no GUI (terminal only) I want to run matlab -licmode onlinelicensing but also pass my username and password in one line so I don't have to input it in. Is that possible ?
Answers (1)
Mathy
on 14 Aug 2024
Hi Kenji Le,
I understand that you would like to login into your MATLAB using the command line instead of a GUI interface. You could try adding the below command in your bash script or your command line:
echo -e 'ThePassword\n' | matlab TheUsername
Replace the ThePassword and TheUsername strings with your respective password and username. This should help you log in to MATLAB with this username.
Hope this helps!
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!