Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions abfload.m
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,9 @@
% - find '.pro' as this is the file extension of protocol files
tmpIx2=strfind(lower(char(BigString)'),'.pro');
% - extract everything in between and place in field of header struct h
tmpIx3=strfind((char(BigString)'),'IN');
h.comment1=char(BigString(tmpIx2(1)+4:tmpIx3(1)-1))';

if ~isempty(tmpIx1) && ~isempty(tmpIx2)
h.protocolName=char(BigString(tmpIx1:tmpIx2(1)+3))';
else
Expand Down Expand Up @@ -718,7 +721,7 @@
tmp=1e-6*h.lActualAcqLength*h.fADCSampleInterval;
if verbose
disp(['total length of recording: ' num2str(tmp,'%5.1f') ' s ~ ' num2str(tmp/60,'%3.0f') ' min']);
disp(['sampling interval: ' num2str(h.si,'%5.0f') ' �s']);
disp(['sampling interval: ' num2str(h.si,'%5.0f') ' µs']);
% 8 bytes per data point expressed in Mb
disp(['memory requirement for complete upload in matlab: '...
num2str(round(8*h.lActualAcqLength/2^20)) ' MB']);
Expand Down Expand Up @@ -1527,4 +1530,4 @@ function pvpmod(x)
% MEMSET_CTOR;
% STATIC_ASSERT( sizeof( ABF_UserListInfo ) == 64 );
% }
% };*/=
% };*/=