<p>Thank you very much Alain ! It works perfectly with cl_init(). Plus it was written into the readme file... I'm sorry for my mistake, i didn't really understand where i had to post my message.</p>
<div class="gmail_quote">Le 12 déc. 2012 10:10, "Alain LAMY [via Scilab / Xcos - Mailing Lists Archives]" <<a href="/user/SendEmail.jtp?type=node&node=4025468&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> a écrit :<br type="attribution">
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,
<br><br>About the initial question :
<br><br>The solution is probably: CL_init()
<br>which creates various local variables including %CL_deg2rad.
<br><br>You can also add the line "CL_init();" in the "scilab.ini" file
<br>so that the variables exist each time you start Scilab.
<br>(type "SCIHOME" for the directory where this file is)
<br><br>Alain
<br><br><br>-----Message d'origine-----
<br>De : <a href="http://user/SendEmail.jtp?type=node&node=4025467&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a> [mailto:<a href="http://user/SendEmail.jtp?type=node&node=4025467&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>] De la part de Sylvestre Ledru
<br>Envoyé : mercredi 5 décembre 2012 09:50
<br>À : <a href="http://user/SendEmail.jtp?type=node&node=4025467&i=2" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br>Objet : Re: [Scilab-users] problème fonction CL_deg2rad
<br><br>You can subscribe by sending an email to:
<br><a href="http://user/SendEmail.jtp?type=node&node=4025467&i=3" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><br>and the archives are here:
<br><a href="http://mailinglists.scilab.org/CelestLab-f3653733.html" rel="nofollow" link="external" target="_blank">http://mailinglists.scilab.org/CelestLab-f3653733.html</a><br><br>Sylvestre
<br><br>On 05/12/2012 09:47, Frederic Jourdin wrote:
<div><div class='shrinkable-quote'><br>> There is a special Scilab mailing list for French language.
<br>> (je me rappelle plus l'adresse...)
<br>> Fred
<br>>
<br>>
<br>> Le 04/12/2012 20:07, sdeligny a écrit :
<br>>> Bonjour,
<br>>> Je commence à utiliser le module celestlab pour un projet
<br>>> nano-satellite, et
<br>>> j'ai rencontré un problème lors de l’exécution de la fonction CL_deg2rad.
<br>>> Celle-ci fonctionne normalement lorsqu'elle est employée de la manière
<br>>> suivante : x_rad = CL_deg2rad(x_deg).
<br>>>
<br>>> Mais avec l'écriture x_rad = x_deg * %CL_deg2rad, la console me renvoie :
<br>>>
<br>>> "error 4 - Variable non définie : %CL_deg2rad"
<br>>>
<br>>> Une visite de l'aide m'indique pourtant que l'utilisation de cette
<br>>> écriture
<br>>> est possible...
<br>>>
<br>>> Je ne comprends pas, cela vient-il d'un problème de version ?
<br>>>
<br>>> Merci de votre réponse,
<br>>>
<br>>> Bien Cordialement,
<br>>>
<br>>> Simon DELIGNY,
<br>>> élève-ingénieur Centrale Marseille
<br>>>
<br>>>
<br>>>
<br>>>
<br>>>
<br>>> --
<br>>> View this message in context:
<br>>> <a href="http://mailinglists.scilab.org/probleme-fonction-CL-deg2rad-tp4025429.html" rel="nofollow" link="external" target="_blank">http://mailinglists.scilab.org/probleme-fonction-CL-deg2rad-tp4025429.html</a></div>
>>
<div class='shrinkable-quote'><br>>> Sent from the Scilab users - Mailing Lists Archives mailing list
<br>>> archive at Nabble.com.
<br>>> _______________________________________________
<br>>> users mailing list
<br>>> <a href="http://user/SendEmail.jtp?type=node&node=4025467&i=4" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br>>> <a href="http://lists.scilab.org/mailman/listinfo/users" rel="nofollow" link="external" target="_blank">http://lists.scilab.org/mailman/listinfo/users</a><br>>>
<br>>
<br>> _______________________________________________
<br>> users mailing list
<br>> <a href="http://user/SendEmail.jtp?type=node&node=4025467&i=5" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br>> <a href="http://lists.scilab.org/mailman/listinfo/users" rel="nofollow" link="external" target="_blank">http://lists.scilab.org/mailman/listinfo/users</a></div></div>_______________________________________________
<br>users mailing list
<br><a href="http://user/SendEmail.jtp?type=node&node=4025467&i=6" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="http://lists.scilab.org/mailman/listinfo/users" rel="nofollow" link="external" target="_blank">http://lists.scilab.org/mailman/listinfo/users</a><br>_______________________________________________
<br>users mailing list
<br><a href="http://user/SendEmail.jtp?type=node&node=4025467&i=7" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="http://lists.scilab.org/mailman/listinfo/users" rel="nofollow" link="external" target="_blank">http://lists.scilab.org/mailman/listinfo/users</a><br>
<br>
<br>
<hr noshade size="1" color="#cccccc">
<div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
<div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
<a href="http://mailinglists.scilab.org/probleme-fonction-CL-deg2rad-tp4025429p4025467.html" target="_blank" rel="nofollow" link="external">http://mailinglists.scilab.org/probleme-fonction-CL-deg2rad-tp4025429p4025467.html</a>
</div>
<div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
To unsubscribe from problème fonction CL_deg2rad, <a href="" target="_blank" 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" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
</div></blockquote></div>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://mailinglists.scilab.org/probleme-fonction-CL-deg2rad-tp4025429p4025468.html">Re: problème fonction CL_deg2rad</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/>