| Contents | Index |
Configure C function prototype or C++ encapsulation interface for right-click build of specified subsystem
RTW.configSubsystemBuild(block)
RTW.configSubsystemBuild(block) opens a graphical user interface where you can configure either C function prototype information or C++ encapsulation interface information for right-click builds of a specified nonvirtual subsystem. A dialog box opens based on the Language value selected for your model on the Code Generation pane of the Configuration Parameters dialog box.
To configure and generate C++ encapsulation interfaces for a nonvirtual subsystem, you must
Select the system target file ert.tlc for the model.
Select the Language parameter value C++ (Encapsulated) 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.
| block | String specifying the name of a nonvirtual subsystem block in an ERT-based Simulink model. |

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 |