RT-LAB + MATLAB installation problems
Problem
You can't either run RT-LAB or compile the rtdemo models.
Solution
In most cases, it's due to either a bad license file or a bad installation of MATLAB.
1.
Check
your
license
file.
Run
the
RT-LAB
license
server;
select
RT-LAB,
check
“LMTOOLS
ignores
license
file
path
env.
var?
go
to
server
diags
and
click
on
“perform diagnostics? You must have a lot of lines like this :
"NUM_HOST" v10.00, vendor: OPALLMD License server: zzz nodelocked license,
locked
to
ethernet
address
"xxx"
expires:
yyy
TS_OK:
Checkout
permitted
when
client is using terminal client This license can be checked out
>>
from
win32com.client
import
Dispatch
>>
Dispatch('matlab.application')
<COMObject matlab.application>
2.
Check
your
MATLAB
version
is
supported
by
RT-Lab.
You
can
look
at
this
file
:
C:\OPAL-RT\RT-LABx.x.x\help\pdf\ RT-LAB_IG
3.
Be sure you are using a 32 bit version of MATLAB. You can type “ver?nbsp;in MATLAB
command and look for ?4bit version? If you have a 64bit version,
uninstall it and
reinstall the 32bit version by browsing your MATLAB DVD/win32/setup.exe
4.
Try first to connect as an administrator. If it works, it’s due to administrative rights.
Look at this article : rt-lab-and-running-non-administrator.
A good workaround is to run the Metacontroller as an admin (right click / run as an
administrator) and run RT-Lab by double-clicking on the icon (instead of running it
from the desktop)
5.