Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
function logMessages(fid, statement, debugLevel)
% LOGMESSAGES
% Prints out log messages for CoMIK
%
% INPUT PARAMS
% Param 'fid'
%
%
% Param 'statement'
%
%
% Param 'debugLevel'
%
% ADDITIONAL NOTES
% debugLevel 2 prints all messages
% debugLevel 1 place holder level, may be used in the future
% debugLevel 0 silent on most of the messages, prints very few messages for the user
%
% Author: snikumbh@mpi-inf.mpg.de
if debugLevel == 2
fprintf(fid, statement); %when fid is 1, this prints to command window
end
end