Modelcache
Jump to navigation
Jump to search
Purpose
Stores and retrieves models in the model cache.
Synopsis
- modelcache(model)
- modelcache(model,data)
- modelcache(model,data,prediction)
- modelcache list %list all cached objects
- modelcache clear %manually purge cache
- modelcache settings %modify modelcache settings
- success = modelcache('setdescription','name','description')
- obj = modelcache('get',name) %retrieve object from cache by name
- list = modelcache('whos') %return whos-style structure of objects
Description
Modelcache stores models and data upon calculation in the analysis interface. See this manual page for more information.
Options
options = a structure array with the following fields:
- cache: [ 'off' | {'on'} ] Turns caching ability on or off.
- cachefolder: [ ' ' ] Default is Eigenvector home director.
- project: ['general'] Current project folder for cache.
- maxdatasize: [6000^2] Maximum size of data (number or elements) that can be saved.
- maxage: [90] Maximum number of days to keep items in cache.