필터 지우기
필터 지우기

Passing a function handle to a .NET dll in compiled mode

조회 수: 3 (최근 30일)
Johannes Herb
Johannes Herb 2021년 6월 1일
Hi everyone,
i have a problem with compiling a MATLAB code, which communicates with a s7 1517 TF via a OPC-UA client. The client inherits a method, to handle change events based on a trigger variable on the plc. Its input arguments are the node ID and the handle to the MATLAB function, which is to be fired, when the value on the plc changes.
In deployed mode, everything works just fine. When i compile the code, the client can no longer fire the MATLAB function it received via handle.
Is it not possible to pass function handles to external dll's in compiled version? I did not find any hint to that using the search in the forum.
Any help with this topic would be great.
Greets
Johannes

답변 (0개)

카테고리

Help CenterFile Exchange에서 Application Deployment에 대해 자세히 알아보기

태그

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by