| Real-Time Workshop® Embedded Coder™ | ![]() |
preview = getPreview(obj, fcnType)
Handle to a model-specific C prototype function control object, such as a handle previously returned by obj = RTW.getFunctionSpecification(modelName).
Optional string specifying which function to preview. Valid strings are 'step' and 'init'. If fcnType is not specified, previews the step function.
String specifying the function prototype for the step or initialization function.
The getPreview function gets the model-specific C function prototype code preview.
Controlling Model Function Prototypes in the Real-Time Workshop Embedded Coder documentation
![]() | getPortDefaultConf | getStepMethodName | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |