Borrar filtros
Borrar filtros

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

2 visualizaciones (últimos 30 días)
Johannes Herb
Johannes Herb el 1 de Jun. de 2021
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

Respuestas (0)

Categorías

Más información sobre Application Deployment en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by