SourceForge has been redesigned. Learn more.
Close

Diff of /blockproc/blockprocinit.m [a9068d] .. [4530c5]  Maximize  Restore

Switch to unified view

a/blockproc/blockprocinit.m b/blockproc/blockprocinit.m
...
...
2
2
3
% Add entry to the dynamic classpath if JVM is present.
3
% Add entry to the dynamic classpath if JVM is present.
4
if ~isempty(which('javaaddpath')) 
4
if ~isempty(which('javaaddpath')) 
5
   try
5
   try
6
      javaaddpath([basepath,filesep,'blockproc',filesep,'java',filesep]);
6
      javaaddpath([basepath,filesep,'blockproc',filesep,'java',filesep]);
7
   catch err
7
   catch 
8
       % Use lasterr for Octave compatibility
9
       err=lasterr;
8
      warning('%s: JVM support not present.',upper(mfilename));
10
       warning('%s: JVM support not present.',upper(mfilename));
9
   end
11
   end
10
else
12
else
11
   warning('%s: Java toolbox not present.',upper(mfilename));
13
   warning('%s: Java toolbox not present.',upper(mfilename));
12
end
14
end