rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
debugdisp.m
Go to the documentation of this file.
1 function debugdisp(msg)
2 % DEBUGDISP - Function that displays a message only if a global debug flag
3 % is activated
4 %
5 % msg (string) the message to display
6 %
7 % Andreas Schmidt, 2016
8 
9 if strcmp(getenv('RBMATLABDEBUG'), 'true')
10  display(msg);
11 end
12 
13 end
function debugdisp(msg)
DEBUGDISP - Function that displays a message only if a global debug flag is activated.
Definition: debugdisp.m:17