Can I use global memory to pass data between two S-functions in Simulink?
Afficher commentaires plus anciens
I have two S-functions that need to share data. I have created a global pointer to the data in one, and I am trying to use the C specifier "extern" in the other so that I can use the same global pointer and only need to calculate my data once. But I can not compile the second S-function using the MEX function.
Réponses (0)
Catégories
En savoir plus sur Configure C/C++ S-Function Features 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!