Table of Contents
hil_get_error_message
Gets the error message corresponding to an error code.
message = hil_get_error_message(locale, code) % Get the message for the error code in the specified locale message = hil_get_error_message(code) % Get the message for the error code in the current locale
Returns the error message corresponding to the given error code. If the locale argument is specified then it returns the error message in the given locale, if possible.
If the code is non-negative then an empty string is returned. Otherwise the corresponding error message is returned.
locale
A string indicating the locale. eg. 'English_United States.1252'
code
A negative error code returned by one of the QUARC functions.
message
A string containing the error message or an empty string if the given error code is non-negative.
message = hil_get_error_message(-4); % Returns the error message for error code -4
Copyright ©2024 Quanser Inc. This page was generated 2024-10-17. Submit feedback to Quanser about this page.
Link to this page.