Call C Code Using C Caller Block
Call simple external C code into Simulink®by importing C functions
Use theC Callerblock to integrate your C code into Simulink models. TheC Callerblock resolves source C code and extracts the functions to utilize in your Simulink models.C Callerblock only supports models with no dynamic states and variables. To include dynamic states and variables in your model, seeImplement C/C++ S-Functions.
Generating code using theC Callerblock eliminates the need for writing Target Language Compiler (TLC) files.
Blocks
C Caller | Integrate C code in万博1manbetx |
Objects
FunctionPortSpecification |
Query and configure C Caller block properties |
Model Settings
Topics
- Integrate C Code Using C Caller Blocks
Integrate C Code in Simulink models using C Caller block.
- Debug Custom C/C++ Code
Debug custom C/C++ code from within Simulink.