Skip to content

Commit

Permalink
resolve compatibility issue Matlab version2016a
Browse files Browse the repository at this point in the history
  • Loading branch information
Christiaanvandertol committed Dec 7, 2020
1 parent fea7266 commit 55ef92a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SCOPE.m
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
while ~feof(fid)
line = fgetl(fid);
y = textscan(line,'%s', 'Delimiter', ',', 'TreatAsEmpty', ' ');
varnames(k) = string(y{1}{1}); %#ok<SAGROW>
varnames(k) = y{1}(1); %#ok<SAGROW>
X(k).Val = str2double(y{:});
k = k+1;
end
Expand Down

0 comments on commit 55ef92a

Please sign in to comment.