필터 지우기
필터 지우기

Matlab Coder simple .dll generation

조회 수: 1 (최근 30일)
Ali Taaher
Ali Taaher 2016년 2월 16일
답변: Bill Chou 2016년 2월 17일
Hello, I have generated a .dll library from a very simple Matlab function (z=x+y). I have transferred the library to Labview realtime OS (Pharlab). But Unfortunately, I received an error which said that this library use the kernel32.dll functions (GetEnviromentStringA) which are not supported on this OS. I have found that the .dll compilers use some windows APIs. Is there any option to generate a .dll file without this function (GetEnviromentStringA)? I have found that the Visual studio 6 compliler generate compatible libraries for labview realtime? Is it possible to set it as Matlab2015b compiler?

답변 (1개)

Bill Chou
Bill Chou 2016년 2월 17일
You could try generating just source code, then use a compiler that works with Pharlab. Generating source code should exclude the use of calls to GetEnviromentStringA.

카테고리

Help CenterFile Exchange에서 MATLAB Coder에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by