I have a c++ code, there I need to do few matrix calculations. Writing a script in Matlab is so much easier than write a "real" code in c++.
Suppose the function in Matlab is called "Build_table(x)", there x is a real number, located in a file named "Build_table.mat". How to call this function via c++?
I work in Bash remote server and compile with "g++ -o" if it is important. The server has Matlab, c, c++ and other compilers installed.