Failure to include DLLs when compiling Simulink.
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Desiree
le 25 Août 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 commentaires
Voir également
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!