PMP functions

This section describes all MATLAB functions related to Simulink code generation for PMP.

Interface definition

The functions in this section can be used to map Simulink parameters, testpoints, outputs and busses to a Signal in PMP after code generation. A Simulink matrix or vector can also be mapped to an Updatable in PMP via PmpUpdatable. The functions additionally add property values in PMP, such as the Description, Unit, Min, Max and ResetValue.

The created objects must be available in the MATLAB base workspace when starting code generation. This can be achieved by running an init script in MATLAB prior to starting code generation.

Code generation

PMP code generation for full Simulink model or subsystem with specified configuration parameters.