
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_model * | matlab_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 Malloc | ( | type, | |
| n | |||
| ) | (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.
| 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.
const char* field_names[] [static] |
{
"Parameters",
"nr_class",
"totalSV",
"rho",
"Label",
"sv_indices",
"ProbA",
"ProbB",
"nSV",
"sv_coef",
"SVs"
}
Definition at line 17 of file svm_model_matlab.c.