Home > general > io_fun > load_template.m

load_template

PURPOSE ^

LOAD_TEMPLATE template for making a function that reads/loads a file

SYNOPSIS ^

function varargout = load_template(fname,varargin)

DESCRIPTION ^

LOAD_TEMPLATE   template for making a function that reads/loads a file

 [DATA,<iostat>] = load_template(filename)
 where <iostat> is optional.

 Opens and closes file for ASCII reading.
 The actual reading has still to be implemented, 
 dependent on your specific file.

 LOAD_TEMPLATE cathes the following errors:
 - error finding: iostat=-1
 - error opening: iostat=-2
 - error reading: iostat=-3

 and returns the following fields:
 -  filename: 'foo.txt'
 -  filedate: '23-May-2006 10:56:48'
 - filebytes: 2652688
 -  iomethod: ''
 -   read_at: '28-Jul-2006 13:20:55'
 -  iostatus: 1

See also : oetnewfun

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Mon 29-Nov-2010 15:42:51 by m2html © 2005