This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


SimBiology last warning message


diagstruct = sbiolastwarning


diagstructThe diagnostic structure holding Type, Message ID, and Message for the warnings.


sbiolastwarning or diagstruct = sbiolastwarning return a SimBiology® diagnostic structure array containing the last warnings generated by the software. The fields of the diagnostic structure are:

Type 'warning'
MessageID The message ID for the warning (for example, 'SimBiology:DANotPerformedReactionRate')
Message The warning message

sbiolastwarning([]) resets the SimBiology last warning so that it will return an empty array until the next SimBiology warning is encountered.

sbiolastwarning(diagstruct) will set the SimBiology last warnings to those specified in the diagnostic structure (diagstruct).

Introduced in R2006a