필터 지우기
필터 지우기

How can exported code from Simulink be compiled into a DLL using Visual Studio?

조회 수: 4 (최근 30일)
Joseph
Joseph 2013년 3월 12일
댓글: Dzung 2014년 9월 12일
I am able to compile the code exported from Simulink-coder (RTW) into a EXE and it will run. But I want to compile it into a DLL so that I can reference it in a GUI that I want to created. I am able to compiled the code into a DLL but when I try to register it it responds with a No Entry point found. Is there something I have to do to the source code so that it can be recognized as a DLL?
  댓글 수: 1
Dzung
Dzung 2014년 9월 12일
Hi Joseph, Which compiler do you use to compile the exported code? I was able to compile the generated code to DLL but not EXE when using VC++ 2010.

댓글을 달려면 로그인하십시오.

답변 (1개)

Kaustubha Govind
Kaustubha Govind 2013년 3월 19일
Have you exported the required methods from the code? FYI, you may want to use the Shared Library Target to generate a DLL instead of an EXE directly using Embedded Coder.

카테고리

Help CenterFile Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by