ADDVHLSPIKEWAVEFORMFILE-AddwaveformstoaVHLspikewaveformfile******NOTFUNCTIONALYET*********ADDVHLSPIKEWAVEFORMFILE(FID_OR_FILENAME,WAVEFORMS)AddwaveformdatatoaVHLspikewaveformfile.
IfanopenFID(fileidentifier)ispassed,thenthedataiswrittentothatfile.Notethatinthiscasenocheckingisperformedtomakesurethatwaveformsizescorrespondtowhatiscontainedinthefile's header, so make sure the waveform sizes are accurate. If instead a FILENAME is passed, then the function attempts to open FILENAME and checks to make sure that WAVEFORMS matches the header file parameters. WAVEFORMS should be a matrix of size: NUM_SAMPLES x NUM_CHANNELS X NUM_WAVEFORMS. See also: NEWVHLSPIKEWAVEFORMFILE