Please Samuel
If you only run exec("A.ctx",-1) then the xcos file , then A is a global variable !!! Error is a matter of portability of variables So thank to only run A.sce for testing. Because here the bug For recalling, it well run with xcos scilab 5.5.2 and not with xcox 6.1.0 BR Pierre P. De : users <users-boun...@lists.scilab.org> De la part de Samuel Gougeon Envoyé : samedi 29 février 2020 20:19 À : 'Users mailing list for Scilab' <users@lists.scilab.org> Objet : Re: [Scilab-users] Context error in Xcos Scilab 6.1.0 Le 29/02/2020 à 19:35, Perrichon a écrit : Hello Samuel, Glad to see you confirm this bug Context is executed at line 26 of the A.sce file, and not before : ---> xcos_simulate(scs_m, 4); I did not use your A.sce file. >From the xcos GUI, i have just tested if the context set in the diagram is well executed, noticeably exec("A.ctx",-1) and a mprintf() to show a message. Samuel
_______________________________________________ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users