Also overload Xcos getvalue standard function. 07/12707/2
Bruno JOFRET [Fri, 27 Sep 2013 13:18:04 +0000 (15:18 +0200)]
Change-Id: I56dee3ac0030fd24ec80e6801291c1d01f94d7d5

scilab/modules/xcos/macros/xcosBlockEval.sci

index fe0ecc0..6186aa5 100644 (file)
@@ -21,6 +21,7 @@ function blk = xcosBlockEval(interfaceAlias, blk, context)
     %mprt = funcprot()
     funcprot(0)
     scicos_getvalue = setvalue;
+    getvalue = setvalue;
     function message(txt)
         messagebox(..
         ["In block " + o.gui + ": " ; txt ; "current parameter value kept"],..