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

Switch to side-by-side view

--- a/blockproc/blockprocinit.m
+++ b/blockproc/blockprocinit.m
@@ -4,8 +4,10 @@
 if ~isempty(which('javaaddpath')) 
    try
       javaaddpath([basepath,filesep,'blockproc',filesep,'java',filesep]);
-   catch err
-      warning('%s: JVM support not present.',upper(mfilename));
+   catch 
+       % Use lasterr for Octave compatibility
+       err=lasterr;
+       warning('%s: JVM support not present.',upper(mfilename));
    end
 else
    warning('%s: Java toolbox not present.',upper(mfilename));

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks