advise
Find blocks that are potentially problematic for linearization
Description
When you linearize a Simulink® model, you can create a LinearizationAdvisor
object that contains diagnostic information about
individual block linearizations. To search the LinearizationAdvisor
object for diagnostics of blocks that are potentially problematic for linearization, use
the advise
function.
advise(
opens the Model
Linearizer with an Advisor tab open for
troubleshooting the block linearizations in advisor
)advisor
. For more
information, see Troubleshoot Linearization Results in Model Linearizer.
returns a result
= advise(advisor
)LinearizationAdvisor
object that contains linearization diagnostic
information for any blocks in advisor
that are potentially
problematic for linearization.
Examples
Input Arguments
Output Arguments
Algorithms
Calling the advise
function is equivalent to performing the
following custom query with the find
function:
qPath = linqueryIsOnPath; qZero = linqueryIsZero; qBlkRep = linqueryIsBlockSubstituted; qDiags = linqueryHasDiagnostics; q = qPath & (qZero | qDiags | qBlkRep); advisor_new = find(advisor,q);
Version History
Introduced in R2017b