start
Start a persistence service and attach it to a MATLAB session
Starting in a future release, Redis™ will no longer ship with MATLAB®
            Production Server™ and MATLAB
            Compiler SDK™. Redis supports the data persistence functionality in these products. Provide your
        own Redis persistence service instead. Affected functions include start, stop, and restart.
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. - startperforms both these actions.
- If a persistence service has already been started, there is no need to call - start. Use- attachinstead.
- 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.
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