[Scilab-users] Xcos: Context issue

Stéphane Bécu stephane.becu at maya-technologies.com
Mon Nov 12 15:39:10 CET 2012


Hello Clément,
 
Please find a simple testcase showing my Context issue:
Changing one or more parameters is ok but this does not change a variable which is a function of these parameters. Here a=amin+*amax is not changed when amin, amax are modifed... 
There must be another way to manage his but I don't know how?
 
Thanks for help
 
Stéphane

________________________________

De: users-bounces at lists.scilab.org de la part de Clément David
Date: mar. 30/10/2012 08:39
À: International users mailing list for Scilab.
Objet : Re: [Scilab-users] RE : TR : java heap space



Hello,

Some tests on our compilation chain use the context update and pass. Can
you post a reduced test-case of your issue please ?

PS: unit test added to manage context update
http://codereview.scilab.org/#/c/9558/

Le lundi 29 octobre 2012 à 16:48 +0100, Stéphane Bécu a écrit :
> I did not have the problem with Scilab 5.4.0 but with this last
> version my parameters modification are not taken into account when
> using scicos_simulate() as it used to be with previous versions.
> 
> Code example:
> /////////////////////////
> 
> Context.mypar1;
> Context.mypar2;
> 
> Context.mypar3;
> scicos_simulate(scs_m,list(),Context,'nw');
> 
> --> this simulation gives the same result than with original parameter values.
> 


--
Clément DAVID
Development Engineer
-----------------------------------------------------------
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Mobile: +33.6.26.26.51.90
Phone: +33.2.90.22.78.96
http://www.scilab-enterprises.com <http://www.scilab-enterprises.com/> 

_______________________________________________
users mailing list
users at lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20121112/8a751afc/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.xcos
Type: text/xml
Size: 43655 bytes
Desc: test.xcos
URL: <https://lists.scilab.org/pipermail/users/attachments/20121112/8a751afc/attachment.xml>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: simulation_test.sce
Type: application/octet-stream
Size: 486 bytes
Desc: simulation_test.sce
URL: <https://lists.scilab.org/pipermail/users/attachments/20121112/8a751afc/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: param_test.sce
Type: application/octet-stream
Size: 74 bytes
Desc: param_test.sce
URL: <https://lists.scilab.org/pipermail/users/attachments/20121112/8a751afc/attachment-0001.obj>


More information about the users mailing list