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

2 次查看(过去 30 天)
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