I have to run several time consuming functions lots of times. The functions are not written by myself, however, they work fine in Maltab and Octave. I want to run them faster (in both Win Maltlab and Linux Octave). I heard that compiling them to MEX file can be the best way. What do you think? How can I do that?
---
p.s. The code are LSGO CEC benchmark functions: http://nical.ustc.edu.cn/conferences/cec2008/lsgo/LSGO.CEC08.Benchmark.zip
http://nical.ustc.edu.cn/wcci2010/lsgo_benchmark.zip