NAME
fp_read_int_matrix_from_matlab_file - Reads an integer matrix from matlab file
SYNOPSIS
#include "l/l_int_mat_io.h"
Example compile flags (system dependent):
-DLINUX_386 -DLINUX_386_P4
-I/home/kobus/include
-L/home/kobus/load/linux_386_p4 -L/usr/local/lib -L/usr/lib
-lKJB -llapack -lblas -lg2c -lXext -lX11
int fp_read_int_matrix_from_matlab_file
(
Int_matrix **result_mpp,
FILE *fp
);
DESCRIPTION
This routine reads an integer matrix from a matlab file. If the file is not
a matlab file, then NOT_FOUND is returned. Currently, we support exactly one
matlab file format, namely 4 byte integers, PC format. This will be extended
at needed, but likely not before.
"fp" points to a FILE object specifying the file to read the data from.
The integer matrix *result_mpp is created or resized as necessary.
RETURNS
NO_ERROR on success, NOT_FOUND if the file is not a matlab integer file,
and ERROR on failure, with an appropriate error message being set.
SEEALSO
read_int_matrix
DISCLAIMER
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.
AUTHOR
Kobus Barnard
DOCUMENTOR
Kobus Barnard
SEE ALSO
read_int_matrix_from_config_file
,
read_int_matrix
,
fp_read_int_matrix
,
fp_read_raw_int_matrix
,
fp_read_int_matrix_with_header
,
fp_read_formatted_int_matrix
,
read_int_matrix_by_rows
,
fp_read_int_matrix_by_rows
,
read_int_matrix_by_cols
,
fp_read_int_matrix_by_cols
,
fp_ow_read_formatted_int_matrix
,
fp_ow_read_int_matrix_by_rows
,
fp_ow_read_int_matrix_by_cols
,
fp_read_matrix_size_header
,
fp_write_int_matrix_with_title
,
write_int_matrix
,
fp_write_int_matrix
,
write_raw_int_matrix
,
fp_write_raw_int_matrix
,
write_int_matrix_rows
,
fp_write_int_matrix_rows
,
write_int_matrix_cols
,
fp_write_int_matrix_cols
,
write_int_matrix_with_header
,
fp_write_int_matrix_with_header
,
fp_write_matrix_size_header
,
write_int_matrix_to_matlab_file
,
fp_write_int_matrix_to_matlab_file