Package: RTW
Configure C function prototype or C++ class interface for right-click build of specified subsystem
RTW.configSubsystemBuild(
block
)
RTW.configSubsystemBuild(
opens
a graphical user interface where you can configure either C function prototype
information or C++ class interface information for right-click builds of a specified
nonvirtual subsystem. A dialog box opens based on the Language and
Code interface packaging values selected for your model on the
Code Generation and Code Generation > Interface panes of the Configuration Parameters dialog box.block
)
To configure and generate C++ class interfaces for a nonvirtual subsystem, you must
Select the system target file ert.tlc
for the
model.
Select the Language parameter value
C++
for the model.
Select the Code interface packaging parameter value
C++ class
for the model.
Make sure that the subsystem is convertible to a Model block
using the function
Simulink.SubSystem.convertToModelReference
. For
referenced model conversion requirements, see the Simulink® reference page Simulink.SubSystem.convertToModelReference
.
| Character vector specifying the name of a nonvirtual subsystem block in an ERT-based Simulink model. |