Connect MATLAB session to persistence service that is already running
Connect a MATLAB Session to a Persistence Service
Attach MATLAB code to a persistence service.
Start a persistence service outside your MATLAB session from the system command line using
using the dashboard. Assuming your started the service using a connection name
myOutsideRedisConnection at port
your MATLAB session to it from the MATLAB desktop.
ctrl = mps.cache.control('myOutsideRedisConnection','Redis','Port',8899); attach(ctrl)
Introduced in R2018b