bugfix: fid did not reference to class variable

This commit is contained in:
Michael Stumpf 2018-11-28 17:42:13 +01:00
parent 3b2b577211
commit 98435d9272
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ classdef ucf < handle
if obj.fileID<0
error('Unable to open file: %s',obj.File);
end
obj.fileBeg = ftell(fid);
obj.fileBeg = ftell(obj.fileID);
fseek(obj.fileID,0,'eof');
obj.fileEnd = ftell(obj.fileID);
fseek(obj.fileID,0,'bof');