Home > Objects > @iFunc > load.m

iFit/load

PURPOSE ^

d = load(s, file): iFunc Model loader

SYNOPSIS ^

function out = load(a, filename)

DESCRIPTION ^

 d = load(s, file): iFunc Model loader

   @iFunc/load: imports a Model from a file into Matlab/iFunc object
   The input argument 'file' should be a file name or empty (then popup a file selector).

   Default supported formats include: MAT, M, YAML, JSON, XML format holding a model (iFunc/save)
   The list of supported formats to create iFunc objects is obtained with:
     load(iFunc,'formats')

 input:  s: object (iFunc)
         file: file name(s) to import (char/cellstr)

 output: d: single object or array (iFunc)
 ex:     save(gauss, 'gauss.yaml'); load(iFunc, 'gauss.yaml');

 Version: Aug. 22, 2017
 See also: iLoad, save, iFunc/save, iData/save, Loaders

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Tue 22-Aug-2017 11:03:30 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1