function used for file-caching other function calls. More...
Go to the source code of this file.
Functions | |
function
varargout = | filecache_function (funcptr, varargin) |
function used for file-caching other function calls. More... | |
function used for file-caching other function calls.
Definition in file filecache_function.m.
function varargout = filecache_function | ( | funcptr, | |
varargin | |||
) |
function used for file-caching other function calls.
If an expensive function
is called frequently during a program run, a filecaching can be used, i.e. one calls the function instead as
If the function result exists in the cache, this is loaded, otherwise the function is called, the result saved in the cache and the result returned.
RBMATLABTEMP/cache
funcptr | is the pointer to a function whose calls are to be cached. |
varargin | is parameter list of the cached function call |
varargout | return values of the cached function call |
Definition at line 17 of file filecache_function.m.