How can I implement a custom datatype in Simulink model So, that the generated code is same as Union datatype in C.
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Tarun Jhamnani
il 2 Ago 2018
Risposto: Muthukumar Ganesan
il 20 Ago 2022
The closest alternate will be Structure of structure using bus in Simulink.
0 Commenti
Risposta accettata
TAB
il 6 Ago 2018
As far as I know, Simulink never generates Union for any built-in data class.
For your requirement, you need to create your own data class and custom staorage class.
Check cscdesigner in your matlab help.
0 Commenti
Più risposte (1)
Vedere anche
Categorie
Scopri di più su Simulink Coder in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!