LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create an executable with a Simulink dll?

Hi,
I want to create an executable from a VI wich calls a dll created by Simulink and Simulation Interface Toolkit. After I compile the Vi with the application builder, the following message appears:
"Error 42 occurred at Loading the model DLL"
Possible reason: LabVIEW: Generic error.
What should I do to have an executable which works correctly?
0 Kudos
Message 1 of 2
(2,777 Views)
Hi,

You could try to put the dll in the same directory as the executable. You
can also try to register the dll with regsvr32.exe.

Regards,

Wiebe.


"Padox" wrote in message
news:506500000008000000D5DF0000-1079395200000@exchange.ni.com...
> Hi,
> I want to create an executable from a VI wich calls a dll created by
> Simulink and Simulation Interface Toolkit. After I compile the Vi with
> the application builder, the following message appears:
> "Error 42 occurred at Loading the model DLL"
> Possible reason: LabVIEW: Generic error.
> What should I do to have an executable which works correctly?
0 Kudos
Message 2 of 2
(2,777 Views)