[Scilab-users] Help to set parameters in an Xcos Diagram
Clément David
clement.david at scilab-enterprises.com
Mon Mar 25 10:11:40 CET 2013
Hello,
That's a typo in your code, you should take a better look at the PID
optimisation exemple. The context argument passed to the scicos_simulate
macro is a struct() with key-values representation of updated variables.
On Fri, 2013-03-22 at 02:49 -0700, cedricbdo wrote:
> I have another problem.
>
> Thanks to your advice, I am using the following code :
>
> dt = d0.1;
> typeof(scs_m)
> scs_m.props.tf = dt;
> scs_m.props.tol = [0.000001;0.000001;1.000D10;dt;0;1;0];
> scs_m.props.Context;
> Context.Time_step=dt;
> scicos_simulate(scs_m,list(),Context,'nw');
>
> However, I got the following error :
>
> Error 1000 :
> Context is not a valid field name.
>
> I have no idea where it comes from.
> Could you help me please.
>
>
>
> --
> View this message in context: http://mailinglists.scilab.org/Help-to-set-parameters-in-an-Xcos-Diagram-tp4026319p4026329.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
--
Clément DAVID
Development Engineer / Account Manager
-----------------------------------------------------------
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Mobile: +33.6.26.26.51.90
Phone: +33.2.90.22.78.96
http://www.scilab-enterprises.com
More information about the users
mailing list