Robochameleon  v1.0
robopath.m
Go to the documentation of this file.
1 
2 function fullpath = robopath( path )
3 
4 robopath = getpref('robochameleon');
5 if path(1) == '/' || path(1)=='\'
6  fullpath = [robopath.roboRootFolder path];
7 else
8  fullpath = [robopath.roboRootFolder '/' path];
9 end
10 end
11 
function robochameleon(in varargin)
Add robochameleon related directories to the MATLAB path.
function robopath(in path)
Outputs the full path of whatever is passed.