Home > Libraries > Loaders > iLoad_ini.m

iFit/iLoad_ini

PURPOSE ^

config = iLoad_ini User definitions of specific import formats to be used by iLoad

SYNOPSIS ^

function config = iLoad_ini

DESCRIPTION ^

 config = iLoad_ini User definitions of specific import formats to be used by iLoad

 Each format is specified as a structure with the following fields
   method:   function name to use, called as method(filename, options...)
   extension:a single or a cellstr of extensions associated with the method
   patterns: list of strings to search in data file. If all found, then method
             is qualified. The patterns can be regular expressions.
   name:     name of the method/format
   options:  additional options to pass to the method.
             If given as a string they are catenated with file name
             If given as a cell, they are given to the method as additional arguments
   postprocess: function called from iData/load after file import, to assign aliases, ...
             called as iData=postprocess(iData)

 formats should be sorted from the most specific to the most general.
 Formats will be tried one after the other, in the given order.
 System wide loaders are tested after user definitions.

 These formats can be obtained using [config, configfile]=iLoad('','load config').
 the iLoad_ini configuration file can be saved in the Preference directory
 using [config, configfile] = iLoad(config,'save config').
 A list of all supported formats is shown with iLoad('formats');

 See also: iLoad, save, iData/saveas
 (c) E.Farhi, ILL. License: EUPL.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Tue 27-Nov-2018 10:56:24 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1