| Contents | Index |
int xPCGetLastError(void);
The xPCGetLastError function returns the error constant for the last reported error. If the function did not detect an error, it returns 0.
The xPCGetLastError function returns the constant of the last reported error by another API function. This value is reset every time you call a new function. Therefore, you should check this constant value immediately after a call to an API function. For a list of error constants and messages, see C API Error Messages.
API functions xPCErrorMsg, xPCSetLastError

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |