IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
get_rootdir.m
Go to the documentation of this file.
1
%> @file
2
%> @ingroup introspection
3
%> @brief Returns the root directory
4
5
function
s =
get_rootdir
()
6
a = which('irootlab');
7
if isempty(a)
8
irerror
('irootlab.m not found');
9
end;
10
11
poss = find(a == filesep);
12
13
s = a(1:(poss(end-1)-1));
irerror
function irerror(in s)
get_rootdir
function get_rootdir()
m
misc
introspection
get_rootdir.m
Generated on Tue May 19 2015 20:46:05 for IRootLab by
1.8.9.1