#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) | 
| void | read_sparse_instance (const mxArray *prhs, int index, struct svm_node *x) | 
| #define CMD_LEN 2048 | 
Definition at line 15 of file svmpredict.c.
| void exit_with_help | ( | ) | 
Definition at line 241 of file svmpredict.c.
| static void fake_answer | ( | mxArray * | plhs[] | ) |  [static] | 
Definition at line 39 of file svmpredict.c.
| void mexFunction | ( | int | nlhs, | 
| mxArray * | plhs[], | ||
| int | nrhs, | ||
| const mxArray * | prhs[] | ||
| ) | 
Definition at line 256 of file svmpredict.c.
| void predict | ( | mxArray * | plhs[], | 
| const mxArray * | prhs[], | ||
| struct svm_model * | model, | ||
| const int | predict_probability | ||
| ) | 
Definition at line 46 of file svmpredict.c.
| void read_sparse_instance | ( | const mxArray * | prhs, | 
| int | index, | ||
| struct svm_node * | x | ||
| ) | 
Definition at line 17 of file svmpredict.c.