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
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!