#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <errno.h>
#include "mex.h"
Go to the source code of this file.
Macros | |
#define | max(x, y) (((x)>(y))?(x):(y)) |
#define | min(x, y) (((x)<(y))?(x):(y)) |
Functions | |
void | exit_with_help () |
static void | fake_answer (mxArray *plhs[]) |
void | mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) |
void | read_problem (const char *filename, mxArray *plhs[]) |
static char * | readline (FILE *input) |
Variables | |
static char * | line |
static int | max_line_len |
Definition at line 15 of file libsvmread.c.
Definition at line 18 of file libsvmread.c.
void exit_with_help | ( | ) |
Definition at line 21 of file libsvmread.c.
|
static |
Definition at line 28 of file libsvmread.c.
void mexFunction | ( | int | nlhs, |
mxArray * | plhs[], | ||
int | nrhs, | ||
const mxArray * | prhs[] | ||
) |
Definition at line 188 of file libsvmread.c.
void read_problem | ( | const char * | filename, |
mxArray * | plhs[] | ||
) |
Definition at line 56 of file libsvmread.c.
|
static |
Definition at line 37 of file libsvmread.c.
|
static |
Definition at line 34 of file libsvmread.c.
|
static |
Definition at line 35 of file libsvmread.c.