What is the difference between MatrixLib and using the MATLAB compiler?
The MATLAB compiler automatically takes .m files and converts them into C++ files. MatrixLib is a programming library which aid in the conversion of MATLAB code. MATLAB is a procedural language and the conversion results in C++ functions that are also procedural in nature. The procedure for using MatrixLib is to write a C++ class and use MatrixLib to replicate the MATLAB code the performs the computation. This allows the user to take advantage of the object oriented features of C++. For example, the user would typically write a constructor to initialize the object, an initialization member to read in data and initialize the object, and then a member function that would contain the C++ code the does the computation. This results in a cleaner, more expandable code base in C++.