Skip to content

Commit c070ece

Browse files
committed
eliminate java path warnings
1 parent bbe3530 commit c070ece

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

startup_rtb.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ function startup_rtb(tbpath)
4848
addpath( fullfile(tbpath, 'models') );
4949
addpath( fullfile(tbpath, 'data') );
5050

51+
w = warning ('off', 'MATLAB:javaclasspath:jarAlreadySpecified');
5152
javaaddpath( fullfile(tbpath, 'java', 'DHFactor.jar') );
53+
warning(w)
5254

5355
p = fullfile(tbpath, 'simulink');
5456
if exist(p, 'dir')

0 commit comments

Comments
 (0)