forked from CovertLab/WholeCell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setWarnings.m
25 lines (24 loc) · 1.1 KB
/
setWarnings.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
function setWarnings()
%SETWARNINGS Turns on and off (mostly off) specific warnings.
%
% Author: Jonathan Karr, [email protected]
% Affilitation: Covert Lab, Department of Bioengineering, Stanford University
% Last updated: 9/21/2010
warning('off', 'MATLAB:dispatcher:nameConflict');
warning('off', 'MATLAB:class:cannotUpdateClass');
warning('off', 'MATLAB:class:cannotUpdateClass:Changed');
warning('off', 'MATLAB:ClassInstanceExists');
warning('off', 'MATLAB:xlsread:Mode')
warning('off', 'MATLAB:xlsread:RangeIncompatible');
warning('off', 'MATLAB:javaclasspath:duplicateEntry');
warning('off', 'MATLAB:xlswrite:AddSheet');
warning('off', 'MATLAB:structOnObject');
warning('off', 'MATLAB:Print:CustomResizeFcnInPrint');
warning('off', 'MATLAB:save:sizeTooBigForMATFile');
warning('off', 'MATLAB:load:variableNotFound');
warning('off', 'WholeCell:warning:network');
warning('off', 'WholeCell:warning:initializeNegativeCounts');
warning('off', 'MATLAB:Axes:NegativeDataInLogAxis');
warning('off', 'swtest:largeSampleSize');
warning('off', 'stats:gamfit:ZerosInData');
warning('off', 'MATLAB:RandStream:loadobj:LoadError');