Structural deformable models
Main Page
Namespaces
Classes
Files
File List
File Members
src
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
}
matlab.h
matlabprog
static string matlabprog
Definition:
matlab.cpp:5
matlabCall
int matlabCall(const std::string &cmd)
Definition:
matlab.cpp:7
common.h
Generated by
1.8.11