diff scripts/control/base/__stepimp__.m @ 5926:ddfe04062467

[project @ 2006-08-14 19:16:07 by jwe]
author jwe
date Mon, 14 Aug 2006 19:16:07 +0000
parents 2618a0750ae6
children 2110cc251779
line wrap: on
line diff
--- a/scripts/control/base/__stepimp__.m
+++ b/scripts/control/base/__stepimp__.m
@@ -216,7 +216,7 @@
   
   save_automatic_replot = automatic_replot;
   unwind_protect
-    automatic_replot = 0;
+    automatic_replot(0);
     if(nargout == 0)
       ## Plot the information
       oneplot();
@@ -272,6 +272,6 @@
     endif
     ## printf("##STEPIMP-DEBUG: gratulations, successfull completion.\n");
   unwind_protect_cleanup
-    automatic_replot = save_automatic_replot;
+    automatic_replot(save_automatic_replot);
   end_unwind_protect
 endfunction