Installation
Note: The MATLAB interface requires firmware v21 or newer, and certain methods may require the latest firmware. If necessary, update using LoadPulsePalFirmware()
Download or check out the Sanworks PulsePal repository to the disk location of your choice
In MATLAB, go to Home > Set Path
In the path editor, add the MATLAB folder to the path. This should be: /PulsePal/MATLAB/
At the command prompt, run: P = PulsePalDevice('COM3') % Replace 'COM3' with the device's USB serial port name
Configuration
In Linux, you may need to add yourself to the 'dialout' group for MATLAB to access the USB serial port:
From the terminal> sudo usermod -a -G dialout pulsepaluser (if pulsepaluser is your username)