long time from c++, suffering from small bugs,
yes, c++ is a bug itself.
before i start, i would like to log this bugs:
cout &it&it fixed &it&it setprecision(5) &it&it x
yes, if x is float, and you want to output it to file or console, then you get nothing.
same with textread in matlab, but you get something instead of nothing.
ok, let us start.
C++ call matlab
remember, what we are using are some libs of matlab, which is mainly the "engine" lib.
1) so add includes, add lib search path. add libs themselves.
2) coding
#include " engine.h"