C Caller
Integrate C code in金宝app
- Library:
Simulink / User-Defined Functions
Description
TheC Callerblock integrates your external C code into Simulink®. This block imports and lists the functions in your external C code, and allows you to select your resolved C functions to integrate in your Simulink models. TheC Caller块独立的支持代码生成。金宝app为铁道部e complex models, code generation depends on the capabilities of your Simulink model.
To use theC Callerblock, define your source code and any supporting files usingSimulation TargetunderConfiguration Parameters. Then, bring aC Callerblock to the Simulink canvas, usingLibrary Browser>金宝app>User Defined Functions. To change the defined source code file and its dependencies, go toSimulation Targettab inConfiguration Parametersby clicking thefrom the block dialog. After changing your source code or any of its dependencies, refresh the list of functions by clicking theon the block dialog. To browse the function definitions in your source code, use theicon to access your source files.