Filter löschen
Filter löschen

NET-matlab hybrid environment

1 Ansicht (letzte 30 Tage)
Andrey
Andrey am 4 Dez. 2022
Kommentiert: chrisw23 am 6 Dez. 2022
Good afternoon,
Version 2022b finally has normal integration with .NET applications.
Many thanks to the MathWorks team.
My C# program receives online data from an external device, and then I transfer this data to Matlab for processing.
I would like to transfer only a new portion of information to Matlab and not transfer it in full each time as function arguments.
In previous versions (until 2022a) when using COM server, it was possible to send a variable to matlab using the function
matlab.PutWorkspaceData("var_", "base", var_);
How now to carry out such a transfer?
I would appreciate some helpful advice on how to organize such an environment more efficiently.
  1 Kommentar
chrisw23
chrisw23 am 6 Dez. 2022
How about instanciating your C# app from Matlab and register for data transfer events (addlistener) provided by the C# app (delegates/events).

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Parallel Computing finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by