Main Content

parametersAffectingBlock

Class: SLSlicerAPI.ParameterDependence
Namespace: SLSlicerAPI

Finds parameters that impact a Simulink block

Since R2021b

Syntax


[params,slicerObj] = parametersAffectingBlock(pd,block)

Description

[params,slicerObj] = parametersAffectingBlock(pd,block) lists the parameters that are impact a selected Simulink block.

Input Arguments

expand all

Encapsulates the functions which calculate the dependencies between parameters and model.

Example:

slicerObj = slslicer(model);
pd = slicerObj.parameterDependence;

Data Types: SLSlicerAPI.ParameterDependence Object

Simulink block for analyzing the parameter dependencies.

Data Types: handle | string | character vector

Examples

[params, slicerObj] = parametersAffectingBlock(pd, 'blockA');

Version History

Introduced in R2021b