Main Content

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.c for an example.

Version History

Introduced in R2007b