Hello,

here is what i get with a similar example:

-->v=struct("b",%t,"r",%pi,"t","Hi")
 v  =
   b: %t
   r: 3.1415927
   t: "Hi"
 
-->w = struct("b",%f,"r",%e,"t","Hola")
 w  = 
   b: %f
   r: 2.7182818
   t: "Hola"
 
-->v($+1)=w
 v  = 
2x1 struct array with fields:
   b
   r
   t
 
-->v(2)
 ans  =
 
   b: %f
   r: 2.7182818
   t: "Hola" 
 
-->v.t
 ans  =
       ans(1)
 Hi   
       ans(2)
 Hola   

It looks to works as expected. It is hard to help you without 
knowning more about the structure that you use. Could you post 
some lines of code that fail and that could be copied/pasted
for test?

Samuel
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to