フィルターのクリア

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

2 ビュー (過去 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 Center および File ExchangeApplication Deployment についてさらに検索

タグ

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by