This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function [matfilename, tree, matData, stimTree]=ImportHEKAtoMat(thisfile, targetpath) | |
% ImportHEKA imports HEKA PatchMaster and ChartMaster .DAT files | |
% | |
% Example: | |
% OUTPUTFILE=ImportHEKA(FILENAME) | |
% OUTPUTFILE=ImportHEKA(FILENAME, TARGETPATH) | |
% | |
% FILENAME is the path and name of the HEKA DAT file to import. | |
% | |
% The kcl file generated will be placed in TARGETPATH if supplied. If not, |