sdSettings()
Description
Controls settings files on the Pulse Pal device's microSD card. Three operations are supported: load, save and delete.
Syntax
confirmed = sdSettings(settingsFileName, operation)
Parameters
settingsFileName: A char array specifying the name of the target settings file, including its .pps extension
operation: A char array with the operation name: 'load', 'save' or 'delete'.
If using 'load', the loaded parameters become the current parameters on the device, and the properties of the PulsePalDevice object are updated accordingly.
Returns
confirmed: A boolean that is true if the device acknowledged the command
Examples
% 1. This saves the current parameters to the microSD card as mySettings.pps
P.sdSettings('mySettings.pps', 'save');
% 2. This loads parameters from mySettings.pps on the device's microSD card
P.sdSettings('mySettings.pps', 'load');
% 2. This deletes mySettings.pps from the device's microSD card
P.sdSettings('mySettings.pps', 'delete');