Le 21/05/2014 23:25, Paul Martin a écrit :
Thanks a lot ! That's exactly what I was looking for.
But, can you explain me, what kind of side effects i can have by doing this.
You cannot rely on the block calling order during simulation (the order
is determined by the scheduler for discrete time calls and by the
compiler for continuous time calls).
I'll use it to read in block->work. Some of this variable will not be
constant.
If you want to read in block->work for display or things like that,
there is no problem, but if you modify it or use it to compute the
output of another block the result will depend on the blocks execution
order.
Serge
Paul,
--
View this message in context:
http://mailinglists.scilab.org/Share-variable-between-Xcos-Blocks-tp4030517p4030552.html
Sent from the Scilab developers - Mailing Lists Archives mailing list archive
at Nabble.com.
_______________________________________________
dev mailing list
dev@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/dev
_______________________________________________
dev mailing list
dev@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/dev