1 %> @ingroup globals codegen
3 %> @brief Evaluates code in
'base' workspace, adds to IRCODE.s and to the IRootLab log editbox
if open
6 %> @param title
if provided, will be added before the code
as comment
10 if exist('title', 'var')
11 s = ['%' title sprintf('\n') s];
15 % s = [sprintf('\n') s];
18 % Does same thing but without the ircode_assert()
24 ircode_eval2(sprintf('% -- Ellapsed time: %g seconds\n', tt));
27 %
ircode_eval2(['% -- ERROR at ', datestr(now), 10, 10]);
function ircode_eval(in s, in title)
Analysis Session (AS) base class.
function ircode_eval2(in s, in title)