paths = getBlockPaths(advisor);Create logical array indicating which blocks are in the angle_wrap subsystem.index = contains(paths,'angle_wrap');Obtain diagnostic information for these blocks.diags = getBlockInfo(advisor,index)diags =
Linearization Diagnostics for the Blocks:Block Info:
-----------
Index BlockPath Is On Path Contributes To Linearization Linearization Method- scdpendulum/angle_wrap/Trigonometric Function1 Yes No Perturbation
- scdpendulum/angle_wrap/Trigonometric Function2 Yes No Perturbation
- scdpendulum/angle_wrap/Trigonometric Function Yes No Perturbation
Input Arguments
advisor — Diagnostic information for block linearizations
LinearizationAdvisor object | array of LinearizationAdvisor objectsDiagnostic information for block linearizations, specified as a LinearizationAdvisor
object or an array of LinearizationAdvisor objects.block — Block paths
character vector | cell array of character vectorsBlock paths in Simulink model, specified as one of the following:- Character vector — Obtain diagnostic information for a single block.
- Cell array of character vectors — Obtain diagnostic information for multiple blocks.
index — Block indices
positive integer | array of positive integers | boolean arrayBlock indices, specified as one of the following:15 Alphabetical List