Main Content
getp
Get the value of a public cache property
Syntax
Description
gets the value of a public cache property.value
= getp(c
,property
)
Ordinarily, you would be able to access the public properties of a cache object using
the dot notation. For example: c.Connection
. However, all cache objects
use dot reference and dot assignment to refer to keys stored in the cache rather than cache
object properties. Therefore, c.Connection
refers to a key named
Connection
in the cache instead of the cache's
Connection
property.
There is no setp
method since all cache properties are
read-only.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2018b