I am writing a program to solve a computationally heavy optimization problem. To improve speed I am using mex-files for certain parts of the code.
I know I can in theory call Matlab functions from a mex-file (link 1). However, is this recommended? What does it typically do for speed? Alternatively, I could only use functions from C++ libraries but Matlab has some nice functions that seem to work well for my problem.
1.4m articles
1.4m replys
5 comments
57.0k users