| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Real-Time Workshop Embedded Coder |
| Contents | Index |
| Learn more about Real-Time Workshop Embedded Coder |
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. The appropriate dialog box opens based on the Language value selected for your model on the Real-Time Workshop 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. |
Configuring Function Prototypes for Nonvirtual Subsystems in the Real-Time Workshop Embedded Coder documentation
Controlling Generation of Function Prototypes in the Real-Time Workshop Embedded Coder documentation
Configuring C++ Encapsulation Interfaces for Nonvirtual Subsystems in the Real-Time Workshop Embedded Coder documentation
Controlling Generation of Encapsulated C++ Model Interfaces in the Real-Time Workshop Embedded Coder documentation

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2010- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |