Main Content

coder.buildstatus.open

Open Build Status window

Description

coder.buildstatus.open(model) opens the Build Status window for model.

The Build Status window supports parallel builds of referenced model hierarchies. Do not use the Build Status window for serial builds.

If the current working folder is the model build folder and the folder contains information from a previous parallel build, opening the Build Status window displays the previous build information. When you start a model parallel build, the current build information replaces the previous build information in the window.

example

coder.buildstatus.open(model,systemTarget) opens the Build Status window for model and displays the model tab. The available tabs are Simulation Targets and Code Generation Targets

example

Examples

collapse all

After generating code for model 'ParallelBuildA1', open the Build Status window for the model.

coder.buildstatus.open('ParallelBuildA1')

Open the Build Status window for the model 'ParallelBuildA1' and display the Simulation Targets tab.

coder.buildstatus.open('ParallelBuildA1','sim')

Input Arguments

collapse all

Model name specified as a character vector or a string scalar

Example: 'ParallelBuildA1'

Data Types: char | string

System targets tab name specified as a character vector or string scalar, sim for Simulation Targets and rtw for Code Generation Targets. When build information is available for a system target from a previous build, the systemTarget argument directs the Build Status dialog box to display the tab for the system target. If this optional argument is omitted, when build information is available, dialog opens both the Simulation Targets tab and Code Generation Targets tab. If build information for a target is not available, the dialog does not open the corresponding system targets tab.

Example: 'rtw'

Data Types: char | string

Version History

Introduced in R2018a