saveProgramToFile()
saveProgramToFile()
Description
Saves the current parameters of the PulsePalDevice object to a .json file on the PC.
Saved parameter files can later be loaded to the object (and device) using loadProgramFromFile()
Syntax
saveProgramToFile(filename)
Parameters
filename: The full path to the target file, including the filename and extension.
Using the .json file extension will help MATLAB identify the file for easy import into the workspace if necessary
Returns
None
Examples
% 1. This saves parameters to C:/myParameters.mat
P.saveProgramToFile('C:/myParameters.json');