Documentation

restart

Restart a persistence service and attach it to a MATLAB session

Syntax

restart(ctrl)

Description

example

restart(ctrl) restarts a persistence service represented by ctrl. You only restart a services you originally started using start.

Examples

collapse all

Restart 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 restart it.

ctrl = mps.cache.control('myRedisConnection','Redis','Port',4519);
start(ctrl)
restart(ctrl)

Input Arguments

collapse all

Persistence service controller, represented as a mps.cache.Controller object.

Example: restart(ctrl)

See Also

| | |

Topics

Introduced in R2018b