필터 지우기
필터 지우기

Failure to include DLLs when compiling Simulink.

조회 수: 5 (최근 30일)
David Wilson
David Wilson 2011년 8월 24일
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?

답변 (1개)

Desiree
Desiree 2011년 8월 25일
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.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by