repetitive matlab lauch - licensing error 96
1 view (last 30 days)
Show older comments
I am running some matlab code as a part of a bigger application. The top level script is written in bash and uses matlab, python and some other programs. Therefore, I use the
matlab -nosplash -nodisplay -nodesktop -singleCompThread -noFigureWindows -r SCRIPT.m
command in a bash for loop. I have a shared matlab license and have to connect to a license server (while using a VPN). Due to sometimes poor connection or VPN server problem, the command fails with a license error 96
Licensing error: -96,7. System Error: 2
My question is as follows.
Is it possible to request the license for matlab (e.g. at the start of the bash script) so that the license server does not need to be contacted every time matlab starts (in a bash for loop)? For example, is it possible spawn an instance of matlab that would somehow keep the license occupied for all other future matlab instances?
Thanks in advance.
0 Comments
Answers (1)
Steven Lord
on 6 Apr 2017
2 Comments
Steven Lord
on 6 Apr 2017
In that case I recommend you and your license administrator contact Technical Support to ask if the Support staff has any alternatives that would work with the license you have.
See Also
Categories
Find more on Manage Products in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!