Find all blocks in linearization results that are numerically perturbed.
perturbed = find(advisor,linqueryIsNumericallyPerturbed);
Obtain list of numerically perturbed blocks.
blocks = getBlockPaths(perturbed)
blocks = 6x1 cell array
{'scdspeed/Throttle & Manifold/Intake Manifold/Convert to mass charge'}
{'scdspeed/Combustion/Torque Gen' }
{'scdspeed/Combustion/Torque Gen2' }
{'scdspeed/Throttle & Manifold/Intake Manifold/Pumping1' }
{'scdspeed/Throttle & Manifold/Throttle/f(theta)' }
{'scdspeed/Throttle & Manifold/Throttle/g(pratio)' }
Input Arguments
advisor — Diagnostic information for block linearizations
LinearizationAdvisor object | array of LinearizationAdvisor objects
Diagnostic information for block linearizations, specified as a LinearizationAdvisor
object or an array of LinearizationAdvisor objects.
Output Arguments
blocks — Block paths
cell array of character vectors | cell array
Block paths for blocks in advisor, returned as a cell array of character vectors if
advisor is a single LinearizationAdvisor object. If advisor is an array of
LinearizationAdvisor objects, then blocks is a cell array with the same dimensions
as advisor in which each element is a cell array of character vectors.
getBlockPaths