#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.
Defines | |
#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 |
void exit_with_help | ( | ) |
Definition at line 21 of file libsvmread.c.
static void fake_answer | ( | mxArray * | plhs[] | ) | [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 char* readline | ( | FILE * | input | ) | [static] |
Definition at line 37 of file libsvmread.c.
char* line [static] |
Definition at line 34 of file libsvmread.c.
int max_line_len [static] |
Definition at line 35 of file libsvmread.c.