[Scilab-users] Reading an xcos diagram with scs_m
Clément David
clement.david at scilab-enterprises.com
Wed Sep 9 08:32:32 CEST 2015
Hello Pablo,
Your 'scs_m' variable is a complete diagram created using
`scicos_diagram` `scicos_block` and `scicos_link`. To check that is is
correct, "xcos(scs_m)" will open the graphical editor for the scs_m
diagram.
The documentation is included within the Scilab help.
Regards,
--
Clément
Le dimanche 06 septembre 2015 à 19:03 -0300, Pablo Fonovich a écrit :
> Hi:
>
> I was wondering how does scilab to generate a cos diagram from
> scs_m...
>
> For example, i have a diagram whose scs_m is:
>
> scs_m =
>
> wpar = [600,450,0,0,600,450]
> title = "Controller"
> tol = [0.000001;0.000001;1.000D-10;100001;0;1;0]
> tf = 30
> context = ["A=[
> -.3,3,1;0,0,2;0,0,0];B=[1;2;3];C=[1,1,2;0,2,3];D=0;x0=[
> -2;1;2]";"K=ppol(A'',C'',-.7*ones(x0))'';";"L=-ppol(A,B,
> -.7*ones(x0));";""]
> void1 = []
> options =
> tlist(["scsopt","3D","Background","Link","ID","Cmap"],list(%t,33),[8,
> 1],[1,5],list([5,1],[4,1]),[0.8,0.8,0.8])
> void2 = []
> void3 = []
> doc = list()
> 1 CLOCK_f
> 2 RAND_f
> 3 SUMMATION
> 4 SPLIT_f
> 5 CLKSPLIT_f
> 6 DEMUX
> 7 GAIN_f
> 8 SUM_f
> 9 SPLIT_f
> 10 SUPER_f
> 11 SUPER_f
> 12 SUM_f
> 13 CSCOPE
>
> i would like to be able to generate the same diagram with that
> information by myself, to open it with a custom application... is the
> scs_m enough? is there any documentation from where to start?
>
> Thanks
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
More information about the users
mailing list