Main Content

SLSlicerAPI.ParameterDependence Class

Namespace: SLSlicerAPI

Class to determine the impact of parameters on a Simulink Model

Since R2021b

Description

The SLSlicerAPI.ParameterDependence class displays the dependency between parameters and the model from the MATLAB® command line. You can use SLSlicerAPI.ParameterDependence class to:

  • Find parameters which impact a particular block.

  • Find blocks which are affected by a particular parameter.

Creation

pd=parameterDependence(slicerObj) creates an SLSlicerAPI.ParameterDependence object for the model used to construct slicerObj.

Properties

expand all

Contains an instance of slicer object used to create parameter dependence object and also keeps track of analysis.

Example:

openExample('simulink_aerospace/AircraftLongitudinalFlightControlExample',...
'supportingFile','slexAircraftExample')
slicerObj = slslicer('slexAircraftExample');

Methods

expand all

Version History

Introduced in R2021b