Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

sbiolastwarning

SimBiology last warning message

Syntax

sbiolastwarning
diagstruct = sbiolastwarning
sbiolastwarning([])
sbiolastwarning(diagstruct)

Arguments

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

Description

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

Was this topic helpful?