Main Content

processadvisor

Open Process Advisor app for Simulink model

Description

processadvisor(modelName) opens the Simulink® model, modelName, in the current project and opens a Process Advisor pane to the left of the Simulink canvas. You need to load a project to use the function processadvisor.

This function requires CI/CD Automation for Simulink Check.

example

processadvisor(___,processName) opens Process Advisor for the process specified by processName. By default, the function opens Process Advisor for the default process in the process model.

Examples

collapse all

Open the Process Advisor app for a specific model in a project.

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

processAdvisorExampleStart

Open the Process Advisor app for the model AHRS_Voter.slx.

processadvisor("AHRS_Voter")
The AHRS_Voter model opens in Simulink and the Process Advisor app opens in a pane to the left of the Simulink canvas. You can use the Process Advisor app to run the tasks in your process.

Input Arguments

collapse all

Model name, specified as a character vector or string.

Do not include the model extension (.slx or .mdl) in the model name.

Example: "AHRS_Voter"

Data Types: char | string

Process name, specified as a string.

Example: "CIPipeline"

Data Types: string

Alternative Functionality

App

You can also open the Process Advisor app for a model by using the Apps Gallery.

  1. Open a Simulink model in your project.

  2. Click the Apps tab.

  3. In the Model Verification, Validation, and Test section, click Process Advisor.