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   11

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   11

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 211 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 31 of file svm_model_matlab.c.


Variable Documentation

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

Definition at line 17 of file svm_model_matlab.c.



ml_classifiers
Author(s): Scott Niekum
autogenerated on Mon Oct 6 2014 02:20:58