How do I create a shared data between two S-functions block using CMEX

16 visualizaciones (últimos 30 días)
Issopui
Issopui el 8 de Jun. de 2016
Editada: Issopui el 9 de Jun. de 2016
Hello there,
I am trying to implement a socket client with the help of two S-function block with a MEX file. One S-function block is conected to my Simulink controller (direct feedtrough) and the second s-function receive the data from the socket server. I have tried with the PWork vector but unfortunately whenever I run the model MATLAB just crash. is there any other way to create a global data for the two S-functions block?
Many thanks

Respuestas (0)

Categorías

Más información sobre Block and Blockset Authoring en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by