#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../svm.h"
#include "mex.h"
#include "svm_model_matlab.h"
Go to the source code of this file.
Defines | |
#define | CMD_LEN 2048 |
Functions | |
void | exit_with_help () |
static void | fake_answer (mxArray *plhs[]) |
void | mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) |
void | predict (mxArray *plhs[], const mxArray *prhs[], struct svm_model *model, const int predict_probability) |
int | print_null (const char *s,...) |
void | read_sparse_instance (const mxArray *prhs, int index, struct svm_node *x) |
Variables | |
int(* | info )(const char *fmt,...) = &mexPrintf |
#define CMD_LEN 2048 |
Definition at line 15 of file svmpredict.c.
void exit_with_help | ( | ) |
Definition at line 244 of file svmpredict.c.
static void fake_answer | ( | mxArray * | plhs[] | ) | [static] |
Definition at line 42 of file svmpredict.c.
void mexFunction | ( | int | nlhs, |
mxArray * | plhs[], | ||
int | nrhs, | ||
const mxArray * | prhs[] | ||
) |
Definition at line 260 of file svmpredict.c.
void predict | ( | mxArray * | plhs[], |
const mxArray * | prhs[], | ||
struct svm_model * | model, | ||
const int | predict_probability | ||
) |
Definition at line 49 of file svmpredict.c.
int print_null | ( | const char * | s, |
... | |||
) |
Definition at line 17 of file svmpredict.c.
void read_sparse_instance | ( | const mxArray * | prhs, |
int | index, | ||
struct svm_node * | x | ||
) |
Definition at line 20 of file svmpredict.c.
int(* info)(const char *fmt,...) = &mexPrintf |
Definition at line 18 of file svmpredict.c.