union structure in simulink

How can I simulate a union struct in simulink?
I need to simulate union structure in my project in simulink.
Can this be done with the c caller block or the s function builder block?
Is there any way to include the union structure in the simulink?

Respuestas (1)

Muthukumar Ganesan
Muthukumar Ganesan el 20 de Ag. de 2022

0 votos

Hi,
Please refer to this sample model.
Hope this helps. Thanks.

Categorías

Más información sobre Block and Blockset Authoring en Centro de ayuda y File Exchange.

Preguntada:

el 4 de Ag. de 2022

Respondida:

el 20 de Ag. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by