padv.util.DictionaryCache Class
Namespace: padv.util
Manage data dictionary cache in MATLAB
Description
This class requires CI/CD Automation for Simulink Check.
Use the padv.util.DictionaryCache
class to manage the data dictionary cache
in MATLAB®. You can use the utility functions of the class to set the cache to a temporary
location, which can help you manage access to data
dictionaries across multiple
MATLAB
sessions.
When you instantiate an instance of the class, the class sets the cache to a temporary
location. When you delete the instance, the class resets the cache to the default
location.
The padv.util.DictionaryCache
class is a handle
class.
Creation
Description
cacheManager = padv.util.DictionaryCache()
creates a
DictionaryCache
object and sets the data dictionary cache to a
temporary location, so long as the MATLAB session is not a Parallel Computing Toolbox™ worker in a parallel pool.
If you want to create a persistent cache manager instance that is locked for the
current MATLAB session, consider using the padv.util.initSessionDataDictionaryCache
function to create the cache
manager instead.