matlab.lang.MemoizedFunction
matlab.lang.MemoizedFunction: a function handle with a result cache.
M = matlab.lang.MemoizedFunction (FH)
Normally created with MEMOIZE. Calling M (ARGS) evaluates FH (ARGS) once per distinct argument list (values and classes) and returns the stored outputs afterwards. Properties: Function (read-only), Enabled and CacheSize. Use STATS (M) for hit/miss figures and CLEARCACHE (M) to empty the cache.