SS_OPTION_EXCEPTION_FREE_CODE

Improve performance of exception-free S-functions

Description

Improves performance of S-functions that do not use mexErrMsgTxt, mxCalloc, or any other routines that can throw an exception. An S-function is not exception free if it contains any routine that, when called, has the potential of long-jumping out of a block of code and into another scope. See Exception Free Code for more information.

Example

See vsfunc.cvsfunc.c for an example.

Was this topic helpful?