MATLAB: Can I use the MATLAB C++ Math Library with the C++ standard template library (STL)

MATLAB C/C++ Math Librarystl

Can I use the MATLAB C++ Math Library with the C++ standard template library (STL)?

Best Answer

You can use the C++ Math Library with STL. However, they cannot be used together in the same source file because the MATLAB C++ Math Library uses the old iostream.h header file, while STL requires the new one.