Table of Contents
qc_error
Issues the error corresponding to an error code.
qc_error(msgid, locale, code) % Issue the error for the given code in the specified locale qc_error(msgid, code) % Issue the error for the given code in the current locale qc_error(locale, code) % Issue the error for the given code in the specified locale qc_error(code) % Issue the error for the given code in the current locale
Issues the error corresponding to the given error code, as if error had been called with the error message and optional message identifier, msgid. If the locale argument is specified then it issues the error in the language appropriate for the given locale, if possible.
If the code is non-negative then no error is issued. Otherwise the corresponding error is issued.
msgid
An optional string indicating a message identifier e.g. 'QUARC:cannotLoadModel'
locale
A string indicating the locale. eg. 'English_United States.1252'
code
A negative error code returned by one of the QUARC functions.
This function has no outputs.
qc_error(result); % Issue an error message if the result indicates an error
See Also
Copyright ©2024 Quanser Inc. This page was generated 2024-04-16. Submit feedback to Quanser about this page.
Link to this page.