C Caller Block with Simulik Real time R2022b
4 views (last 30 days)
I have a problem when I try building a model with C caller block in it for Simulink Real Time target (slrealtime.tlc).
The function implemented in the C code is "not declared" even if the same model is built successfully with the old simulink real time slrt.tlc (R2019a). As soon as I remove the C caller Block the exe file is generated for my Hardware in the loop machine.
P.S. I had the same problem with R2021a release but it works when I try builing the model for a generic target (grt.tlc)
Anybody has any idea how to fix it?
Thank you for your help
Dimitri MANKOV on 17 Oct 2022
Have you checked these suggestions when updating to R2020b and later? There's a number of differences in Simulink Real-Time between R2020a & earlier and R2020b & later which need to be taken into account in your code.
I hope this is helpful!