Writing S-Functions Previous page   Next Page

Building C++ S-Functions

Use the MATLAB mex command to build C++ S-functions exactly the way you use it to build C S-functions. For example, to build the C++ version of the sfun_counter example, enter

at the MATLAB command line.


Previous page  Making C++ Objects Persistent Creating Fortran S-Functions Next page

© 1994-2005 The MathWorks, Inc.