MATLAB Answers

AWS: your matlab session has timed out. all license keys have been returned

104 views (last 30 days)
Yanhui Zhao
Yanhui Zhao on 15 Nov 2020
Edited: Priysha LNU on 25 Nov 2020
I use the github matlab on aws to run matlab code on AWS. (The link is here https://github.com/mathworks-ref-arch/matlab-on-aws)
I want to disable the timeout because I use the Classification learner it takes very long time period. I always receive the message: "your matlab session has timed out. all license keys have been returned" then my trained model is lost.
Anyone know how to solve this problem?

Answers (1)

Priysha LNU
Priysha LNU on 25 Nov 2020
Edited: Priysha LNU on 25 Nov 2020
Hi,
This is something you will have configured in the options file on your license manager server and will apply to all sessions. If you wish to disable this then stop your server, look in your options file for a line:
TIMEOUT MATLAB 14400
And comment it out:
#TIMEOUT MATLAB 14400
Now start the server again.
Hope this helps!
If you need more help regarding the license manager, you may create a case at the below address:
DISCLAIMER: These are my own views and in no way depict those of MathWorks.

Community Treasure Hunt

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

Start Hunting!