Connect a MATLAB session to a 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 system command line using
mps-cache or using the dashboard. Assuming your started the service using a
myOutsideRedisConnection at port
8899, attach your MATLAB session to it from the MATLABdesktop.
ctrl = mps.cache.control('myOutsideRedisConnection','Redis','Port',8899); attach(ctrl)