[Scilab-users] Context error in Xcos Scilab 6.1.0

Perrichon perrichon.pierre at wanadoo.fr
Sat Feb 29 20:37:19 CET 2020


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-bounces at lists.scilab.org> De la part de Samuel Gougeon
Envoyé : samedi 29 février 2020 20:19
À : 'Users mailing list for Scilab' <users at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20200229/ce5b64cf/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 12185 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20200229/ce5b64cf/attachment.jpg>


More information about the users mailing list