Main Content

processAdvisorWindow

Open standalone Process Advisor window for project

Description

processAdvisorWindow() opens the Process Advisor app for the current project. The app opens in a standalone window.

example

processAdvisorWindow(processName) opens the Process Advisor app for the specified process in your process model. For example, processAdvisorWindow("AdditionalExamples").

Note

For R2025a, this functionality will be available in a future release of the support package.

processAdvisorWindow(processName,artifactName) opens the Process Advisor app for a specific process in your process model and filters the list of tasks to show only tasks related to the specified iteration artifact. For example, processAdvisorWindow("AdditionalExamples","AHRS_Voter").

Note

For R2025a, this functionality will be available in a future release of the support package.

Examples

collapse all

Open the Process Advisor app for a project.

Open the Process Advisor example project, which contains an example process model.

processAdvisorExampleStart

Open the Process Advisor app for the project.

processAdvisorWindow()
The standalone Process Advisor window shows each of the task iterations in the project, organized by task. In the Task column, the table shows each task and the artifacts that the task iterates over. You can double-click on an artifact name to open the artifact. For example, if you double-click on the name of a test case, the test case opens in Test Manager.

To view the tasks associated with a specific artifact, you can use the iteration artifact filter in the View section of the Process Advisor toolstrip. The filter provides a list of iteration artifacts based on the task iterations in your process and organizes the iteration artifacts by artifact type. For information on the artifact types, see Valid Artifact Types.

Mouse pointing to a model file in the filter menu

You can open Process Advisor for a specific process in your process model and automatically filter the list of tasks to show only tasks related to specific iteration artifacts by using the processAdvisorWindow function.

Open the Process Advisor example project.

processAdvisorExampleStart

The project contains an example process model that defines two processes, CIPipeline and AdditionalExamples. There are several models in the project, including the AHRS_Voter model.

Instruct Process Advisor to open for the AdditionalExamples process and to filter the list of tasks to show only tasks related to the AHRS_Voter model.

processAdvisorWindow("AdditionalExamples","AHRS_Voter")
Process Advisor opens with the Additional Examples process selected in the Process gallery and the AHRS_Voter model selected in the iteration artifact filter in the View section of the Process Advisor toolstrip.

Input Arguments

collapse all

Process name, specified as a string.

Example: "AdditionalExamples"

Data Types: string

Iteration artifact name, specified as a string.

Example: "AHRS_Voter"

Data Types: string

Alternative Functionality

App

You can also open the Process Advisor app for a project directly from the Project tab in MATLAB®.

On the Project tab, in the Tools gallery, click Process Advisor.