Persistence
getPersistModes
cModes = getPersistModes()
Returns a cell array of the allowed persistence modes settable from the API.
Example
Retrieve allowed persistence modes.
persist_modes = syn.getPersistModes()
persist_modes = syn.getPersistModes()
getPersistMode
sMode = getPersistMode()
Returns the current persistence mode.
Example
Retrieve allowed persistence modes.
persist_mode = syn.getPersistMode()
persist_mode = syn.getPersistMode()
setPersistMode
bSuccess = setPersistMode(sMode)
Sets the current persistence mode.
Note
Synapse must be in Idle mode for this to work.
Example
Set persistence to 'Fresh' before entering run mode.
syn.setPersistMode('Fresh')
syn.setModeStr('Preview')
syn.setPersistMode('Fresh')
syn.setModeStr('Preview')