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?

Réponses (1)

Muthukumar Ganesan
Muthukumar Ganesan le 20 Août 2022

0 votes

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

Catégories

En savoir plus sur Block and Blockset Authoring dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by