Stop a persistence service and detach it from a MATLAB session
stop(ctrl)
example
stop(ctrl) stops a persistence service represented by ctrl and detaches it from a current MATLAB® session.
ctrl
You cannot stop a service that has not been started.
You can only stop a service that has been started using start.
start
Exiting MATLAB will automatically call stop on all persistence services that were started using start.
stop
collapse all
Stop a persistence service.
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 then stop it.
ctrl = mps.cache.control('myRedisConnection','Redis','Port',4519); start(ctrl) stop(ctrl)
mps.cache.Controller
Persistence service controller, represented as a mps.cache.Controller object.
Example: stop(ctrl)
attach | detach | restart | start
attach
detach
restart