Defines | Functions | Variables
svm_model_matlab.c File Reference
#include <stdlib.h>
#include <string.h>
#include "../svm.h"
#include "mex.h"
Include dependency graph for svm_model_matlab.c:

Go to the source code of this file.

Defines

#define Malloc(type, n)   (type *)malloc((n)*sizeof(type))
#define NUM_OF_RETURN_FIELD   10

Functions

struct svm_modelmatlab_matrix_to_model (const mxArray *matlab_struct, const char **msg)
const char * model_to_matlab_structure (mxArray *plhs[], int num_of_feature, struct svm_model *model)

Variables

static const char * field_names []

Define Documentation

#define Malloc (   type,
 
)    (type *)malloc((n)*sizeof(type))

Definition at line 15 of file svm_model_matlab.c.

#define NUM_OF_RETURN_FIELD   10

Definition at line 13 of file svm_model_matlab.c.


Function Documentation

struct svm_model* matlab_matrix_to_model ( const mxArray *  matlab_struct,
const char **  msg 
) [read]

Definition at line 198 of file svm_model_matlab.c.

const char* model_to_matlab_structure ( mxArray *  plhs[],
int  num_of_feature,
struct svm_model model 
)

Definition at line 30 of file svm_model_matlab.c.


Variable Documentation

const char* field_names[] [static]
Initial value:
 {
        "Parameters",
        "nr_class",
        "totalSV",
        "rho",
        "Label",
        "ProbA",
        "ProbB",
        "nSV",
        "sv_coef",
        "SVs"
}

Definition at line 17 of file svm_model_matlab.c.



haf_grasping
Author(s): David Fischinger
autogenerated on Wed Jan 11 2017 03:48:49