Start a persistence service and attach it a to MATLAB session
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
. Use attach
instead.
If you connected a persistence service to your MATLAB session with start
, you must disconnect with
stop
.
If you connected with attach
, you must disconnect with detach
.
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)
attach
| detach
| restart
| stop