xcosUpdateBlock.xml updated.
[scilab.git] / scilab / modules / xcos / help / fr_FR / scilab_utilities_functions / xcosUpdateBlock.xml
index e6369a4..5a1ae70 100644 (file)
@@ -46,8 +46,8 @@
         <para>
             <programlisting role="example"><![CDATA[
 function myExternalFunction(blk, scs_m)
-    execstr(''[ok, blk] = '' + blk.gui + ''(''''set'''', blk)'') ;
-    xcosUpdateBlock(blk) ;
+    execstr('[ok, blk] = ' + blk.gui + '(''set'', blk)');
+    xcosUpdateBlock(blk);
 endfunction
 xcosAddToolsMenu("update block", "myExternalFunction(blk, scs_m)");
 ]]></programlisting>