How to use C Caller Block?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello,
I have a min-max function, which I want to integrated in a Simulink model with a C Caller Block. The question is, can I save a variable inside a C Caller? Bc I want to calculate the mean of that min max value.
0 Kommentare
Antworten (1)
Anmol Dhiman
am 3 Jul. 2020
Hi Elena,
C Caller block only supports models with no dynamic states and variables. To include dynamic states and variables in your model, see Implement C/C++ S-Functions.
Regards,
Anmol Dhiman
0 Kommentare
Siehe auch
Kategorien
Mehr zu Integrate C Code Using C Caller Blocks finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!