| ||||||||||||||
rcGetLastErrorReturns a string describing the most recent error. SyntaxS = rcGetLastError() Description
rcSetWarningModeEnables/Disables automatic printing of warnings. SyntaxrcSetWarningMode(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 rcGetNumWarnings() will always return 0 and rcGetNextWarning() will always return an empty string. If N=0, then warnings will not be printed but will be stored for retrieval via the rcGetNextWarning() function. See Also rcGetNextWarning, rcGetNumWarnings, rcClearWarnings
rcGetNextWarningReturns a string describing the next unread warning. SyntaxS = rcGetNextWarning() Description
Returns an empty string if no warnings remain. See Also rcGetNumWarnings, rcGetNumWarnings, rcClearWarnings
rcGetNumWarningsReturns the number of unread warnings. SyntaxN = rcGetNumWarnings() Description
See Also rcGetNextWarning, rcClearWarnings
rcClearWarningsClears all currently stored warnings. SyntaxrcClearWarnings() Description
See Also rcGetNextWarning, rcGetNumWarnings
rcSetMaxNumWarningsSets the maximum number of warnings stored. SyntaxrcSetMaxNumWarnings(N) Description
If the maximum number is set to 0, then no warnings will be stored. Calls to rcGetNextWarning 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 rcGetNextWarning, rcGetNumWarnings, rcClearWarnings
| ||||||||||||||