S-function in C++
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
iba
le 10 Mai 2019
Réponse apportée : Zenin Easa Panthakkalakath
le 13 Mai 2019
I have a MexFunction in C++ which I want to call from a Simulink S-function. It builds fine when typing mex functionname.cpp, and can be called from MATLAB with commands like functionname('updatenetwork') (the function has different "methods" within it, where updatenetwork is an example of one)
How can I call this function from an S-function? The S-function also needs to be in C/C++ as I need to build the model. Have been trying to figure this out using the S-function builder block and the wrapper function, without success.
Thanks in advance!
0 commentaires
Réponse acceptée
Zenin Easa Panthakkalakath
le 13 Mai 2019
Hi Iba,
I think the following documents would help you with the same:
Regards,
Zenin
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Block and Blockset Authoring 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!