<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 11 (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]--><style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p
{mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang="FR" link="blue" vlink="purple">
<div class="Section1">
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">Bonjour,<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">Je travaille sur une passerelle entre Scilab avec un outil d’analyse. J’ai définis la passerelle comme une fonctionnalité proposée par l’outil. Le problème que
j’ai est le suivant :<font color="#375f91"><span style="color:#375F91"> <o:p></o:p></span></font></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">La commande
<b><span style="font-weight:bold">sci.exec(script);</span></b> ne s’exécute pas et retourne
<b><span style="font-weight:bold">false</span></b>. C’est parce que l’objet Scilab
<b><span style="font-weight:bold">sci </span></b>retourne aussi <b><span style="font-weight:bold">false</span></b> or celui-ci doit retourner<b><span style="font-weight:bold"> true</span></b> lorsqu’il est ouvert. Je ne suis pas sure, mais je pense que le problème
viens du fait que la fonction<b><span style="font-weight:bold"> javasciV2</span></b> est appelé dans la boucle
<b><span style="font-weight:bold">while</span></b> de la fonction <b><span style="font-weight:bold">execute</span></b> pour pouvoir traiter les valeurs de l’argument d’entrée une à une, cela doit générer plusieurs instance de l’objet Scilab cependant s’il y
en a plusieurs ils retournent false (expliquer dans la javadoc du module javasci proposé par Scilab). Or l’exécution de la fonction ne peut se faire autrement que de cette façon car il faudrait modifier les élaborés et on ne veut qu’ils le soient.
<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">Le code des deux fonctions java est en PJ, si quelqu’un pourrait m’expliquer comment je pourrais arranger ce problème ?<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">En vous remerciant par avance,
<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">Ludovic<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial"><o:p> </o:p></span></font></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:
18.0pt;margin-bottom:.0001pt;text-indent:-18.0pt;page-break-after:avoid">
<font size="3" face="Times New Roman"><span style="font-size:12.0pt;text-transform:
uppercase"><img width="340" height="76" id="_x0000_i1025" src="cid:image002.jpg@01CE40C8.0951B670"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" color="navy" face="Times New Roman"><span lang="EN-GB" style="font-size:12.0pt;color:navy"><o:p> </o:p></span></font></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:
18.0pt;margin-bottom:.0001pt;page-break-after:avoid">
<b><font size="2" color="navy" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;font-family:
Arial;color:navy;font-weight:bold">Ludovic JEAN (Intern)</span></font></b><b><span lang="EN-GB" style="font-weight:bold"><o:p></o:p></span></b></p>
<p style="margin:0cm;margin-bottom:.0001pt;text-indent:18.0pt;page-break-after:
avoid">
<font size="2" color="navy" face="Arial"><span lang="EN-GB" style="font-size:
10.0pt;font-family:Arial;color:navy">Flight Tests - Eurocopter Group</span></font><font color="navy" face="Arial"><span lang="EN-GB" style="font-family:Arial;color:navy"><o:p></o:p></span></font></p>
<p class="MsoNormal" style="text-indent:18.0pt;page-break-after:avoid"><font size="2" color="navy" face="Arial"><span lang="EN-GB" style="font-size:10.0pt;
font-family:Arial;color:navy">ETXMA – Analysis for commercialized helicopters</span></font><font color="navy" face="Arial"><span lang="EN-GB" style="font-family:Arial;color:navy"><o:p></o:p></span></font></p>
<p style="margin:0cm;margin-bottom:.0001pt;text-indent:18.0pt;page-break-after:
avoid">
<font size="2" color="navy" face="Arial"><span lang="EN-GB" style="font-size:
10.0pt;font-family:Arial;color:navy">Phone: +33 (0)7 86 39 45 40</span></font><span lang="EN-GB"><o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:
9.0pt;margin-bottom:.0001pt;text-indent:9.0pt;page-break-after:avoid">
<font size="2" color="navy" face="Arial"><span lang="IT" style="font-size:10.0pt;font-family:
Arial;color:navy">E-mail:
<a href="mailto:Ludovic.jean@eurocopter.com">Ludovic.jean@eurocopter.com</a> </span>
</font><font size="2" color="navy" face="Arial"><span lang="IT" style="font-size:10.0pt;font-family:Arial;color:navy"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span lang="IT" style="font-size:12.0pt"><o:p> </o:p></span></font></p>
</div>
</body>
</html>