Structural deformable models
matlab.cpp
Go to the documentation of this file.
1 #include <stdlib.h>
2 #include "common.h"
3 #include "matlab.h"
4 
5 static string matlabprog = "matlab -nojvw -nosplash -nodesktop -r ";
6 
7 int matlabCall(const std::string& cmd)
8 {
9  return system((matlabprog+cmd+", exit").c_str());
10 }
static string matlabprog
Definition: matlab.cpp:5
int matlabCall(const std::string &cmd)
Definition: matlab.cpp:7