Structural deformable models
Functions | Variables
matlab.cpp File Reference
#include <stdlib.h>
#include "common.h"
#include "matlab.h"
Include dependency graph for matlab.cpp:

Go to the source code of this file.

Functions

int matlabCall (const std::string &cmd)
 

Variables

static string matlabprog = "matlab -nojvw -nosplash -nodesktop -r "
 

Function Documentation

int matlabCall ( const std::string &  cmd)

Definition at line 7 of file matlab.cpp.

8 {
9  return system((matlabprog+cmd+", exit").c_str());
10 }
static string matlabprog
Definition: matlab.cpp:5

Variable Documentation

string matlabprog = "matlab -nojvw -nosplash -nodesktop -r "
static

Definition at line 5 of file matlab.cpp.

Referenced by matlabCall().