| ||||||||||||||
rsGetLastErrorReturns a string describing the most recent error. SyntaxS = rsGetLastError() Description
rsSetWarningModeEnables/Disables automatic printing of warnings. SyntaxrsSetWarningMode(N) Description
If N=1 (default setting), then any warnings generated during an API call will automatically be printed to the MATLAB command window. The printed warnings are also removed from the list of stored warnings. In this mode, calling rsGetNumWarnings() will always return 0 and rsGetNextWarning() will always return an empty string. If N=0, then warnings will not be printed but will be stored for retrieval via the rsGetNextWarning() function. See Also rsGetNextWarning, rsGetNumWarnings, rsClearWarnings
rsGetNextWarningReturns a string describing the next unread warning. SyntaxS = rsGetNextWarning() Description
Returns an empty string if no warnings remain. If warnings were dropped (see function rsSetMaxNumWarnings) then the returned string will be a message indicating the number of warnings that have been dropped. See Also rsGetNumWarnings, rsGetNumWarnings, rsClearWarnings
rsGetNumWarningsReturns the number of unread warnings. SyntaxN = rsGetNumWarnings() Description
See Also rsGetNextWarning, rsClearWarnings
rsClearWarningsClears all currently stored warnings. SyntaxrsClearWarnings() Description
See Also rsGetNextWarning, rsGetNumWarnings
rsSetMaxNumWarningsSets the maximum number of warnings stored. SyntaxrsSetMaxNumWarnings(N) Description
If the maximum number is set to 0, then no warnings will be stored. Calls to rsGetNextWarning will still return a message showing the number of warnings that were produced (and dropped). If the maximum number is set to -1, then all warnings will be stored. Note that in some cases this can lead to excessive memory usage. Default setting is to store 200 warnings. See Also rsGetNextWarning, rsGetNumWarnings, rsClearWarnings
| ||||||||||||||