Use the command mphshowerrors to search in a given model object for warning or error nodes. To display the error and warning messages and their location in the model object enter the command:
Alternatively mphshowerrors can also return the error and warning information in a MATLAB
® variable:
where str is an
Nx2 cell array, where
N is the number of error and warning nodes that contain the model object.
str{i,1}, which contains the location in the model of the
i:th error or warning message,
str{i,2} contains the message of the ith error or warning message, and
str{i,3} contains a cell arrays of the model tree nodes that contain the error information. This last information makes it easier to extract error information for automated processing of error and warning conditions.