<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class=WordSection1>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thanks, I will look carefully the example.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Regards,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Cedric<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De :</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Clément David-2
[via Scilab / Xcos - Mailing Lists Archives]
[mailto:<a href="/user/SendEmail.jtp?type=node&node=4026348&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>] <br>
<b>Envoyé :</b> lundi 25 mars 2013 10:12<br>
<b>À :</b> BENSLIMANE Cedric<br>
<b>Objet :</b> Re: Help to set parameters in an Xcos Diagram<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Hello, <br>
<br>
That's a typo in your code, you should take a better look at the PID <br>
optimisation exemple. The context argument passed to the scicos_simulate <br>
macro is a struct() with key-values representation of updated variables. <br>
<br>
<br>
On Fri, 2013-03-22 at 02:49 -0700, cedricbdo wrote: <o:p></o:p></p>
<div>
<p class=MsoNormal><br>
> I have another problem. <br>
> <br>
> Thanks to your advice, I am using the following code : <br>
> <br>
> dt = d0.1; <br>
> typeof(scs_m) <br>
> scs_m.props.tf = dt; <br>
> scs_m.props.tol = [0.000001;0.000001;1.000D10;dt;0;1;0];
<br>
> scs_m.props.Context; <br>
> Context.Time_step=dt; <br>
> scicos_simulate(scs_m,list(),Context,'nw'); <br>
> <br>
> However, I got the following error : <br>
> <br>
> Error 1000 : <br>
> Context is not a valid field name. <br>
> <br>
> I have no idea where it comes from. <br>
> Could you help me please. <br>
> <br>
> <br>
> <br>
> -- <br>
> View this message in context: <a
href="http://mailinglists.scilab.org/Help-to-set-parameters-in-an-Xcos-Diagram-tp4026319p4026329.html"
target="_top" rel="nofollow" link="external">http://mailinglists.scilab.org/Help-to-set-parameters-in-an-Xcos-Diagram-tp4026319p4026329.html</a><br>
> Sent from the Scilab users - Mailing Lists Archives mailing list archive
at Nabble.com. <br>
> _______________________________________________ <br>
> users mailing list <br>
> <a href="/user/SendEmail.jtp?type=node&node=4026347&i=0"
target="_top" rel="nofollow" link="external">[hidden email]</a> <br>
> <a href="http://lists.scilab.org/mailman/listinfo/users" target="_top" rel="nofollow" link="external">http://lists.scilab.org/mailman/listinfo/users</a><o:p></o:p></p>
</div>
<p class=MsoNormal style='margin-bottom:12.0pt'><br>
-- <br>
Clément DAVID <br>
Development Engineer / Account Manager <br>
----------------------------------------------------------- <br>
Scilab Enterprises <br>
143bis rue Yves Le Coz - 78000 Versailles, France <br>
Mobile: +33.6.26.26.51.90 <br>
Phone: +33.2.90.22.78.96 <br>
<a href="http://www.scilab-enterprises.com" target="_top" rel="nofollow" link="external">http://www.scilab-enterprises.com</a><br>
<br>
_______________________________________________ <br>
users mailing list <br>
<a href="/user/SendEmail.jtp?type=node&node=4026347&i=1" target="_top" rel="nofollow" link="external">[hidden
email]</a> <br>
<a href="http://lists.scilab.org/mailman/listinfo/users" target="_top" rel="nofollow" link="external">http://lists.scilab.org/mailman/listinfo/users</a><br>
<br>
<o:p></o:p></p>
<div class=MsoNormal align=center style='text-align:center'>
<hr size=1 width="100%" noshade style='color:#CCCCCC' align=center>
</div>
<div>
<div>
<p class=MsoNormal><b><span style='font-size:9.0pt;font-family:"Tahoma","sans-serif";
color:#444444'>If you reply to this email, your message will be added to the
discussion below:<o:p></o:p></span></b></p>
</div>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Tahoma","sans-serif";
color:#444444'><a
href="http://mailinglists.scilab.org/Help-to-set-parameters-in-an-Xcos-Diagram-tp4026319p4026347.html" target="_top" rel="nofollow" link="external">http://mailinglists.scilab.org/Help-to-set-parameters-in-an-Xcos-Diagram-tp4026319p4026347.html</a>
<o:p></o:p></span></p>
</div>
<div style='margin-top:4.8pt'>
<p class=MsoNormal style='line-height:18.0pt'><span style='font-size:8.5pt;
font-family:"Tahoma","sans-serif";color:#666666'>To unsubscribe from Help to
set parameters in an Xcos Diagram, <a
href="" target="_top" rel="nofollow" link="external">click
here</a>.<br>
<a
href="http://mailinglists.scilab.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" target="_top" rel="nofollow" link="external"><span
style='font-size:7.0pt;font-family:"Times New Roman","serif"'>NAML</span></a> <o:p></o:p></span></p>
</div>
</div>
</div>
<DIV><P><HR>
Le contenu de ce message est prévu uniquement pour le destinataire nommé. Il contient des informations qui peuvent être confidentielles. A moins d'être le destinataire nommé ou autorisé par le destinataire, vous ne pouvez pas copier, employer ou révéler à une autre personne le contenu de ce message. Si vous le recevez par erreur, s'il vous plait, informez nous immédiatement et détruisez le.<BR>
<BR>
The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.
</P></DIV>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://mailinglists.scilab.org/Help-to-set-parameters-in-an-Xcos-Diagram-tp4026319p4026348.html">RE: Help to set parameters in an Xcos Diagram</a><br/>
Sent from the <a href="http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html">Scilab users - Mailing Lists Archives mailing list archive</a> at Nabble.com.<br/>