[Scilab-users] Context error in Xcos Scilab 6.1.0
Perrichon
perrichon.pierre at wanadoo.fr
Sat Feb 29 21:05:30 CET 2020
PS Samuel
Thanks to do the test as I say with A.sce
Executing exec("A.ctx",-1) is a very strange way you do to test the bug
In your case, and for your understanding, and to go faster, simply enter
A=50 in the console.
So we stop exchange to keep the problem as a bug.
Too information bring confusion.
BR
Pierre P.
Scilab 5.5.2 run correctly :
Scilab 6.1.0 is bugged :
It means that A is not seen in xcos scilab 6.1.0
Must I write a bugzilla.
De : Perrichon <perrichon.pierre at wanadoo.fr>
Envoyé : samedi 29 février 2020 20:37
À : 'Users mailing list for Scilab' <users at lists.scilab.org>
Objet : RE: [Scilab-users] Context error in Xcos Scilab 6.1.0
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
<mailto: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
<mailto: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/cc1c7903/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.jpg
Type: image/jpeg
Size: 4189 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20200229/cc1c7903/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image008.jpg
Type: image/jpeg
Size: 4152 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20200229/cc1c7903/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image009.jpg
Type: image/jpeg
Size: 12179 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20200229/cc1c7903/attachment-0002.jpg>
More information about the users
mailing list