#include <stdlib.h>
#include <string.h>
#include "../svm.h"
#include "mex.h"
Go to the source code of this file.
◆ Malloc
#define Malloc |
( |
|
type, |
|
|
|
n |
|
) |
| (type *)malloc((n)*sizeof(type)) |
◆ NUM_OF_RETURN_FIELD
#define NUM_OF_RETURN_FIELD 11 |
◆ matlab_matrix_to_model()
struct svm_model* matlab_matrix_to_model |
( |
const mxArray * |
matlab_struct, |
|
|
const char ** |
msg |
|
) |
| |
◆ model_to_matlab_structure()
const char* model_to_matlab_structure |
( |
mxArray * |
plhs[], |
|
|
int |
num_of_feature, |
|
|
struct svm_model * |
model |
|
) |
| |
◆ field_names
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.