Main Content

Create C++ Source File

To create a C++ S-function from a C S-function, see C++ References.

In addition, set up the MEX function to use a C++ compiler (see Build C MEX Function). To build the C++ S-function, see Build C++ S-Functions.

C++ References

[1] Meyers, S., More Effective C++, Boston, Addison-Wesley, 1996, Item 34

[2] Oualline, S., Practical C++ Programming, Sebastopol, California, O'Reilly, 1995, Chapter 27

[3] Stroustrup, B., The C++ Programming Language, 3rd Ed., Boston, Addison-Wesley, 1997, Appendix B