MATLAB Answers

repetitive matlab lauch - licensing error 96

1 view (last 30 days)
Ondrej Tichacek
Ondrej Tichacek on 6 Apr 2017
Commented: Steven Lord on 6 Apr 2017
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

Sign in to comment.

Answers (1)

Steven Lord
Steven Lord on 6 Apr 2017
You could check with your license administrator if license borrowing is an option.

  2 Comments

Ondrej Tichacek
Ondrej Tichacek on 6 Apr 2017
Thanks for the input, I didn't know this is an option. Unfortunately, license borrowing is apparently not supported for academic licenses (which is the one I have access to).
Steven Lord
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.

Sign in to comment.

Sign in to answer this question.

Products