sbiolastwarning
SimBiology last warning message
Syntax
sbiolastwarning
diagstruct
= sbiolastwarning
sbiolastwarning([])
sbiolastwarning(diagstruct
)
Arguments
| The diagnostic structure holding Type , Message
ID , and Message for the warnings. |
Description
sbiolastwarning
or
return
a SimBiology® diagnostic structure array containing the last warnings
generated by the software. The fields of the diagnostic structure
are: diagstruct
= sbiolastwarning
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(
will
set the SimBiology last warnings to those specified in the diagnostic
structure (diagstruct
)
).diagstruct
Version History
Introduced in R2006a