We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef248f5 commit af0db0aCopy full SHA for af0db0a
+io/parseDataset.m
@@ -31,9 +31,7 @@
31
32
switch datatype.Class
33
case 'H5T_STRING'
34
- versionNumber = getMatlabVersionNumber();
35
- assert(~isnan(versionNumber));
36
- if versionNumber < 9.8
+ if verLessThan('MATLAB', '9.8')
37
% MATLAB 2020a fixed string support for HDF5, making
38
% reading strings "consistent" with regular use.
39
data = data .';
@@ -84,9 +82,4 @@
84
82
end
85
83
H5D.close(did);
86
H5F.close(fid);
87
-end
88
-
89
-function versionNumber = getMatlabVersionNumber()
90
- VersionInfo = ver('MATLAB');
91
- versionNumber = str2double(VersionInfo.Version);
92
0 commit comments