Instructions To Compile MATLAB Mex-C Codes
Recent MATLAB's BLAS (Basic Linear Algebra Subsystems) files have been optimised to perform operations involving linear algebra in MATLAB. However, there are certain computational issues with MATLAB when it comes to performing "loops" operations. Alternatively, C codes would be so much better to work with, in terms of "loops" operations, such as "for-loops" and "while-loops".
Writing a mex-C code is pretty much simple, as writing a standard C code. There should not be much difficult if you are used to writing C codes all the time. All that is needed, is an additional few lines of arguments and function calls. The rest of the mex-C codes are very standard. Click here for more information.
Instructions To Call Java Codes in MATLAB
Recent MATLAB's BLAS (Basic Linear Algebra Subsystems) files have been very optimised to perform operations involving linear algebra in MATLAB. However, there are certain issues with MATLAB when it comes to performing "loops" operations. Alternatively, Java codes would be so much better to work with, in terms of "loops" operations, such as "for-loops" and "while-loops".
It was known through one of my colleague, Dr. Yunong Zhang, that Java computation has also caught up with the standard C operations, if not equally fast. Click here for more information.
Keith Web Logo