IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
ircode_assert.m
Go to the documentation of this file.
1 %> @ingroup globals codegen assert
2 %> @file
3 %> @brief Initializes the @c IRCODE global, if not present.
4 %>
5 %> For reference on the IRCODE global, please check the source code of this file.
6 function list = ircode_assert()
7 global IRCODE;
8 if isempty(IRCODE) || isempty(IRCODE.s)
9  IRCODE.s = {};
10  IRCODE.filename = '';
11  ircode_eval2('', ['IRoot started @ ' datestr(now)]);
12 end;
function ircode_assert()
function ircode_eval2(in s, in title)