How to use C Caller block with C code having multiple functions ?

7 vues (au cours des 30 derniers jours)
sanjay kumawat
sanjay kumawat le 30 Août 2021
I want to use a C language code into simulink which has multiple functions in it. Can it be done by C Caller block.

Réponse acceptée

Mark McBroom
Mark McBroom le 14 Sep 2021
The C Caller block can only call one function. You can either use a seperate C-Caller block for each function, or write a wrapper C-function that calls multiple functions and then call that wrapper C-function from the C-Caller block.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink Functions dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by