Failure to include DLLs when compiling Simulink.
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
We are trying to compile a standalone Simulink application using the RTW build function in the Simulink Coder. The problem is that some of the required DLLs are not being included in the Matlab Compiler Runtime collection. Consequently, when you run the standalone Simulation application on a machine that does not have Matlab installed, (but does have the compiler run time installed), you get an error saying that the DLL is unavailable.
The DLLs that are missing are: libmwsl_fileio.dll, libfreetype.dll, sl_types.dll, sl_services.dll & libfixedpoint.dll.
Any ideas?
0 Kommentare
Antworten (1)
Desiree
am 25 Aug. 2011
I assume that you were building an executable from your model with the Rapid Simulation Target. The reason you receive the errors is that there are dependencies to DLLs from your MATLAB/Simulink installation (you find these under matlabroot\bin\arch). Due to licensing restrictions you cannot create standalone versions of your Simulink model which are not dependent on some libraries of the installation. Those libraries are also not included in the MCR.
The only way to go completely standalone (to a system without MATLAB/Simulink installation) is to create a DLL from your model by using the Shared Library Target of Embedded Coder (ert_shrlib.tlc). This generated DLL can then be used in an external C application, but also from MATLAB.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!