Main Content


Improve performance of exception-free S-functions


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.


See vsfunc.c for an example.

Version History

Introduced in R2007b