IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
classmap_assert.m
Go to the documentation of this file.
1 %> @file
2 %> @ingroup introspection globals assert
3 %> @brief Asserts the @c CLASSMAP global is present and initialized.
4 %> @sa classmap_compile.m
5 
6 function classmap_assert()
7 global CLASSMAP;
8 if isempty(CLASSMAP)
9 
10  fn = fullfile(get_rootdir(), 'CLASSMAP.mat');
11  if ~exist(fn, 'file')
13  else
14  load(fn);
15  end;
16 end;
function classmap_compile()
function classmap_assert()
function get_rootdir()