How to convert Simulink Model to DLL for use in LabVIEW

14 次查看(过去 30 天)
Hi, I would like to convert my Simulink Model to DLL. so that I can use with other software like LabVIEW. I worked around in the internet , some suggestions are to add NIVeristand . tlc file from Simulation configuration . But I could not find tlc file for LABVIEW in the list.
what could be the steps to show up tlc file in the Configuration list of simulink

回答(1 个)

Prathamesh
Prathamesh 2025-7-28
Hi Yazwar,
I understand that you want to convert a Simulink model to DLL, but you are unable to find the “tlc” file in the configuration list of Simulink.
Here you can wrap the MATLAB DLL in another layer to perform the MCR(MATLAB Compiler Runtime) initialization part. To wrap the DLL you can refer the below MATLAB Answers post, that contains a wrapper code with a logic to initialize and reuse.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by