function[obj] = loadData(obj) if (exist(obj.datafile, 'file')) obj.readASC else error(sprintf('File not found: %s', obj.datafile)); end