Clear Filters
Clear Filters

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

2 views (last 30 days)
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

Answers (0)

Categories

Find more on Application Deployment in Help Center and File Exchange

Tags

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!