You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
719 B
21 lines
719 B
%STARTUP_RVC Initialize MATLAB paths for Robotics Toolbox
|
|
%
|
|
% Adds demos, examples to the MATLAB path, and adds also to
|
|
% Java class path.
|
|
release = load('RELEASE');
|
|
fprintf('- Robotics Toolbox for Matlab (release %.1f)\n', release)
|
|
tbpath = fileparts(which('Link'));
|
|
addpath( fullfile(tbpath, 'demos') );
|
|
addpath( fullfile(tbpath, 'examples') );
|
|
addpath( fullfile(tbpath, 'mex') );
|
|
javaaddpath( fullfile(tbpath, 'DH.jar') );
|
|
%currentversion = urlread('http://www.petercorke.com/RTB/currentversion.php');
|
|
currentversion = '0';
|
|
currentversion = str2double(currentversion);
|
|
%{
|
|
if release ~= currentversion
|
|
fprintf('** Release %.1f now available\n\n', ...
|
|
currentversion);
|
|
end
|
|
%}
|
|
clear release currentversion
|