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 cc8d3fc commit 5431c8bCopy full SHA for 5431c8b
+nix/DataArray.m
@@ -92,6 +92,10 @@
92
%-- If a DataArray has been created as boolean or numeric,
93
%-- provide that only values of the proper DataType can be written.
94
function write_all(obj, data)
95
+ if(isinteger(obj.read_all) && isfloat(data))
96
+ disp('Warning: Writing Float data to an Integer DataArray');
97
+ end;
98
+
99
errorStruct.identifier = 'DataArray:improperDataType';
100
if(islogical(obj.read_all) && ~islogical(data))
101
errorStruct.message = strcat('Trying to write', ...
0 commit comments