Attach MATLAB code to a persistence service.
Start a persistence service outside your MATLAB session from system command line using or using the dashboard. Assuming your started the service using a
connection name myOutsideRedisConnection
at port
8899
, attach your MATLAB session to it from the MATLABdesktop.