This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Build Rapid Accelerator target for model and return run-time parameter set


rtp = Simulink.BlockDiagram.buildRapidAcceleratorTarget(mdl)


rtp = Simulink.BlockDiagram.buildRapidAcceleratorTarget(mdl) builds a Rapid Accelerator target for model, mdl, and returns run-time parameter set, rtp.

Input Arguments


Name or handle of a Simulink model

Output Arguments


Run-time parameter set that contains two elements:

modelChecksum1x4 vector that encodes the structure of the model.
parameters A structure of the tunable parameters in the model. This structure contains the following fields.
dataTypeNameThe data type name, for example, double.
dataTypeIdInternal data type identifier for use by Simulink® Coder™.
complexComplex type or real type specification. Value is 0 if real, 1 if complex.
dtTransIdxInternal data type identifier for use by Simulink Coder.
valuesAll values associated with this entry in the parameters substructure.
mapMapping structure information that correlates the values to the model tunable parameters. This structure contains the following fields.
IdentifierTunable parameter name.
ValueIndicesStart and end indices into the values field, [startIdx, endIdx].
DimensionsDimension of this tunable parameter (matrices are generally stored in column-major format).


collapse all

In the MATLAB® Command Window, type:

rtp = Simulink.BlockDiagram.buildRapidAcceleratorTarget('f14')
### Building the rapid accelerator target for model: f14
### Successfully built the rapid accelerator target for model: f14

rtp = 

    modelChecksum: [2.6812e+09 2.7198e+09 589261472 4.0180e+09]
       parameters: [1x1 struct]

Introduced in R2012b

Was this topic helpful?