[scilab-Users] Scicos and Scilab

Collette yann yann.collette at scilab.org
Thu Mar 11 07:43:46 CET 2010


Hello,

Here is an example with xcos.
I use scicos_simulate + I send all the parameters to xcos via the 
context (in xcos, do a right click in the work area and click on edit 
context")

YC

Gianluca Antonelli a écrit :
> just put the .sce file within the "context" of your scicos file. you 
> just need one command line such as:
>
> exec('myfile.sce');
>
> this is executed before the simulation is run. it means that it is 
> possible to put variables in it that are visibile inside the scicos 
> blocks.
>
> I'm not sure but I think that from the versoin 5 (xcos) the xcos 
> workspace "sees" the scilab one.
>
> hope it answer
>
> best,
> g.
>
>
> Luciana Liria wrote:
>> Dear Sir/Madam,
>>
>> I am writing this email in order to ask some questions about Scicos 
>> and Scilab.
>> Firstly, I want to run a Scicos file from a .sce file, but i have 
>> some problems because i do not know which command use. My intention 
>> is to run the scicos file with parameters from the .sce file,so that, 
>> i could prove de diagram in scicos with various parameters and i can 
>> change them from the .sce file.
>> I would be gratefull if you could help me with this problem.In 
>> addition, if you have an example and you could send me it,it will 
>> help me, too.
>>
>> Yours sincerely,
>> Luciana Liria
>>
>>
>> ------------------------------------------------------------------------
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: automatic_test.xcos
Type: text/xml
Size: 179004 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20100311/0926c52e/attachment.xml>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test_automatic.sce
URL: <https://lists.scilab.org/pipermail/users/attachments/20100311/0926c52e/attachment.ksh>


More information about the users mailing list