Le 11/08/2014 21:51, john fulgor a écrit :
Hello all,
I'm trying to create a new scicos block, based on a scilab computational
function. The computational function creates some constant matrices at start,
derived from the parameters, that it uses these matrices all through the
simulation. My question is this: where can I store these matrices? Am I
supposed to re-compute them all times the function is called?
of course not
Or: should I store them someway in the discrete state vector, reshaping them
someway?
for exemple, but it is better using the work array. For reshaping it
depends if your computational function is written in Scilab or in C
And what are the "Discrete state objects" mentioned in the model documentation?
odstate can be used to store discrete states mainly defined by Scilab
data structures.
Thank you very much!
John
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users