Matlab has well optimized functions which I also want to use in other projects. The mex files are actually DLL files, and provided proper interface, they should be able to called by other programs. Is it possible to use the mex functions outside?
PS: calling matlab engine is definitely a way to use matlab outside. But this requires installation of matlab. Matcom is another way, but i wonder if there is a way to call mex as DLLs directly.