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?

Risposte (1)

Muthukumar Ganesan
Muthukumar Ganesan il 20 Ago 2022

0 voti

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

Categorie

Scopri di più su Block and Blockset Authoring in Centro assistenza e File Exchange

Richiesto:

il 4 Ago 2022

Risposto:

il 20 Ago 2022

Community Treasure Hunt

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

Start Hunting!

Translated by