Define Pointer in Bus (structure)
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
How to implement the below structure in simulink
typedef struct{
int a;
int *b;
int *c;
}
0 commentaires
Réponses (1)
Benjamin Thompson
le 21 Jan 2024
Simulink busses cannot use pointers or references. Can you use an array of integers?
int b[10];
Simulink must know the size of the bus in memory so that a signal of this bus type can be connected betwee blocks.
0 commentaires
Voir également
Catégories
En savoir plus sur Simulink Functions dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!