| Contents | Index |
Get function name from model-specific C function prototype
fcnName = getFunctionName(obj, fcnType)
fcnName = getFunctionName(obj, fcnType) gets the name of the step or initialize function described by the specified model-specific C function prototype.
| obj | Handle to a model-specific C prototype function control object previously returned by obj = RTW.getFunctionSpecification(modelName). |
| fcnType | Optional string specifying which function name to get. Valid strings are 'step' and 'init'. If fcnType is not specified, gets the step function name. |
| fcnName | A string specifying the name of the function described by the specified model-specific C function prototype. |
Click the Get Default Configuration button in the Model Interface dialog box to get function names. See Model Specific C Prototypes View in the Embedded Coder documentation.

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |