Main Content

version

Version number for persistence provider

Description

example

version(ctrl) returns the version number for the persistence provider. In order to get the version number of the persistence provider, the persistence service must be started and attached to yourMATLAB® session.

Examples

collapse all

Get the version number of the persistence provider that the persistence service is connected to.

First, create a persistence service controller object and use that object to start the persistence service. Once you have a persistence service running, you can get the version number.

ctrl = mps.cache.control('myRedisConnection','Redis','Port',4519);
start(ctrl)
version(ctrl)
Redis version: 3.0.504

Input Arguments

collapse all

Persistence service controller, represented as a mps.cache.Controller object.

Example: version(ctrl)

Version History

Introduced in R2018b

See Also

| |

Topics