Skip to content
Permalink
a056a1c421
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
26 lines (23 sloc) 526 Bytes
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