| SimBiology® |  |
sbiolastwarning - SimBiology® last warning message
Syntax
sbiolastwarning
diagstruct = sbiolastwarning
sbiolastwarning([])
sbiolastwarning(diagstruct)
Arguments
| diagstruct | The 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).
See Also
sbiolasterror, verify
 | sbiolasterror | | sbioloadproject |  |