ReadSDProgram()

Description

This function returns the last program loaded from PulsePal's microSD card as an array of bytes. Parameter changes that have not been saved to that file will not be returned - this is a direct file dump for debugging purposes.

  • Only Pulse Pal 2 has an a microSD card. This function returns an error when connected to Pulse Pal 1.X.

Syntax

Data = ReadSDProgram;

Parameters

  • None

Returns

  • A 178 byte vector containing the bytes in the last loaded program file

Example

% This example returns the bytes of the last loaded program to the MATLAB command window

Data = ReadSDProgram