registerCPPFunctionEntry
Create C++ function entry based on specified parameters and register in code replacement table
Description
provides a quick way to create and register a code replacement C++ function
entry.entry = registerCPPFunctionEntry(hTable,priority,numInputs,functionName,inputType,implementationName,outputType,headerFile,genCallback,genFileName,nameSpace)
This function can be used only if your C++ function entry meets the following conditions:
The input arguments are of the same type.
The input argument names and the return argument name follow the default Simulink® naming convention:
For input argument names,
u1,u2, ...,unFor return argument,
y1
When you register a code replacement library containing C++ function entries, you
must specify the value {'C++'} for the
LanguageConstraint property of the library registry entry.
For more information, see Register Code Replacement Library.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2010a