start
Start a persistence service and attach it to a MATLAB session
Syntax
Description
start(
starts a persistence service
represented by ctrl
)ctrl
and attaches it to a current MATLAB® session.
To make a persistence service available in a MATLAB session, the service must be started and then attached to the MATLAB session.
start
performs both these actions.If a persistence service has already been started, there is no need to call
start
. Useattach
instead.If you connected a persistence service to your MATLAB session with
start
, you must disconnect withstop
.If you connected with
attach
, you must disconnect withdetach
.
Examples
Start a Persistence Service
Start a persistence service.
First, create a persistence service controller object and use that object to start the persistence service.
ctrl = mps.cache.control('myRedisConnection','Redis','Port',4519); start(ctrl)
Input Arguments
Version History
Introduced in R2018b