LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Include Simulink RTW in Labview RT without using SIT

Solved!
Go to solution

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

0 Kudos
Message 1 of 5
(3,530 Views)

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

0 Kudos
Message 2 of 5
(3,499 Views)

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

0 Kudos
Message 3 of 5
(3,476 Views)

Still no solution Smiley Sad

Has no one experience with putting Simulink into LabVIEW RT?

 

Greetings, Andreas

0 Kudos
Message 4 of 5
(3,457 Views)
Solution
Accepted by topic author AndiKe

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

 

 

0 Kudos
Message 5 of 5
(3,455 Views)