bugfix: fid did not reference to class variable
This commit is contained in:
parent
3b2b577211
commit
98435d9272
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in New Issue