In MATLAB >= 7.7, don't display a warning if we use deprecated interface to set seed of random number generators
parent
6f200a1d7c
commit
a98a5106e1
|
@ -44,4 +44,8 @@ if exist('OCTAVE_VERSION')
|
||||||
warning('off', 'Octave:string-concat');
|
warning('off', 'Octave:string-concat');
|
||||||
warning('off', 'Octave:variable-switch-label');
|
warning('off', 'Octave:variable-switch-label');
|
||||||
warning('off', 'Octave:fortran-indexing');
|
warning('off', 'Octave:fortran-indexing');
|
||||||
|
else
|
||||||
|
% In MATLAB >= 7.7, don't display a warning if we use deprecated
|
||||||
|
% interface to set seed of random number generators
|
||||||
|
warning('off', 'MATLAB:RandStream:ActivatingLegacyGenerators');
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue