[Scilab-users] Reading an xcos diagram with scs_m

Clément David clement.david at scilab-enterprises.com
Thu Nov 12 14:17:20 CET 2015


Hello,

On Scilab 5 there is no way to retrieve the current diagram while opening a block. To cover your
needs I suggest you to take a look at the simulation hook. This is some functions called before and
after the simulation.

In Scilab 6, it is possible to get the parent diagram but we currently provide no documented way to
achieve that. Can you clarify your needs ? Do you setup the solver on a block ? What kind of
information do you need ?

--
Clément

Le mercredi 11 novembre 2015 à 19:41 -0700, Nazreen a écrit :
> Dear Mr. Clément David,
> 
> I am developing a toolbox with new xcos blocks which can create many
> different diagrams. For instance, I have many xcos diagram files saved and
> have a few open on scilab xcos. For example, I have an Xcos block called
> "Solver" in each file but I would like to perform calculations on one file
> by clicking the block in that file. How can Scilab/Xcos tell which file I
> want to say use the function ImportXcosDiagram? In other words, get the
> scs_m from the diagram file where the xcos block was clicked when many files
> are open without having to state the file directory?
> 
> Regards,
> Nazreen.
> 
> 
> 
> --
> View this message in context: http://mailinglists.scilab.org/Scilab-users-Reading-an-xcos-diagram-
> with-scs-m-tp4032802p4033080.html
> Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users



More information about the users mailing list