08-25-2011 03:30 AM
Hello,
I am working on my master thesis and got to the following problem:
my job is to include a Matlab/Simulink Model (Real-Time Workshop ist available) into Labview Real Time (PXIe). Since I just want to put data into the model an see what comes out, I would prefer not to use the Simulation Interface Toolkit (since it's also quite expensive).
Has anyone an idea how to accomplish this one?
Thanks, Andreas
Solved! Go to Solution.
08-26-2011 03:14 AM
Hi Andreas
Without the SIT it is not possible to use a Matlab or Simulink Model in LabVIEW Real-Time.
Components of a Simulation (Simulation Interface Toolkit)
Configuring a Simulation on a Real-Time Target
Kind regards
Pixar
08-29-2011 08:42 AM
Thanks for your reply, Pixar.
When reading through a lot of documents and blog/forum posts I've come across a possible solution. The magic word seams to be DLL. In theory it should be possible to generate a generic DLL with Simulink RTW, which then can be implemented into Labview RT.
So now I am looking for a way to compile a DLL with Simulink RTW. Additionally I have to say I've already read through this http://www.mathworks.de/support/solutions/en/data/1-2F3I19/index.html?product=RT&solution=1-2F3I19 and have to say: I have no license for Embedded Real-Time (ert).
Has anyone a suggestion for my problem?
Greetings, Andreas
09-01-2011 07:12 AM
Still no solution
Has no one experience with putting Simulink into LabVIEW RT?
Greetings, Andreas
09-01-2011 07:21 AM - edited 09-01-2011 07:21 AM
Hi Andreas
If you have a DLL from Simulink you can call this DLL very easy in LabVIEW if the DLL is able to run on a RT system:
How Can I Verify that My DLL is Executable in LabVIEW Real-Time?
You can call a DLL in LabVIEW with the Call Library Function Node (Functions Palette -> Connectivity -> Libraries & Executables)
If you are not able to build a DLL from the Simulink Model it is not possible to use it without the SIT.
Regards