<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:m="http://schemas.microsoft.com/office/2004/12/omml" 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 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"Préformaté HTML Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.PrformatHTMLCar
        {mso-style-name:"Préformaté HTML Car";
        mso-style-priority:99;
        mso-style-link:"Préformaté HTML";
        font-family:Consolas;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[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]-->
</head>

<body bgcolor=white lang=FR link=blue vlink=purple>

<div class=Section1>

<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'>Have you try to remove your folder where you have your toolbox ?<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'>Genlib is used to create a library  with some .sci files<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'>Example with your function alphae<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'>You create a alphae.sci and you put in your function :<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>

<pre><span lang=EN-US>function [alphaeR]=alphae(fck)<o:p></o:p></span></pre><pre><span
lang=EN-US>if (fck <=Cmax) then<o:p></o:p></span></pre><pre><span
lang=EN-US>    alphaeR=Es/Ecm(fck)<o:p></o:p></span></pre><pre><span
lang=EN-US>else<o:p></o:p></span></pre><pre><span lang=EN-US>    disp("fck > C90/100 (EC2-3.1.2(2)P");<o:p></o:p></span></pre><pre><span
lang=EN-US>end<o:p></o:p></span></pre><pre><span lang=EN-US>endfunction<o:p></o:p></span></pre>

<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'><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'>You should not put some instructions outside  the functions in a
.sci file.<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'>Best 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'>Allan CORNET<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'><o:p> </o:p></span></p>

<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";
color:windowtext'>De :</span></b><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'> xavier roguiez
[mailto:xr@geo.hmg.inpg.fr] <br>
<b>Envoyé :</b> mardi 3 juin 2008 21:22<br>
<b>À :</b> users@lists.scilab.org<br>
<b>Objet :</b> [scilab-Users] Exception_access_violation<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'>Hi,<br>
<br>
I've generated some binary function in a folder with the following code :<o:p></o:p></p>

<p class=MsoNormal>mode(-1)<br>
pathB=get_absolute_file_path('builder.sce')<br>
if isdef('BA_imateriaux') predef(0);  clear BA_imateriaux; end<br>
//génération des librairies<br>
genlib('BA_materiaux',pathB+'macros\materiaux',%t);<br>
clear pathB;<o:p></o:p></p>

<p class=MsoNormal><br>
It works perfect with that code,<o:p></o:p></p>

<pre>function [alphaeR]=alphae(fck)<o:p></o:p></pre><pre>if (fck <=Cmax) then<o:p></o:p></pre><pre>    alphaeR=Es/Ecm(fck)<o:p></o:p></pre><pre>else<o:p></o:p></pre><pre>    disp("fck > C90/100 (EC2-3.1.2(2)P");<o:p></o:p></pre><pre>end<o:p></o:p></pre><pre>endfunction<o:p></o:p></pre><pre>  <o:p></o:p></pre>

<p class=MsoNormal><br>
but i've modified it with that, in order to test better help<o:p></o:p></p>

<p class=MsoNormal><i>manedit('manedit')</i><br>
function [alphaeR]=alphae(fck)<br>
if (fck <=Cmax) then<br>
    alphaeR=Es/Ecm(fck)<br>
else<br>
    disp("fck > C90/100 (EC2-3.1.2(2)P");<br>
end<br>
endfunction<br>
<i>manedit alphae</i><o:p></o:p></p>

<pre><o:p> </o:p></pre><pre><o:p> </o:p></pre><pre>But now, the binary building stops on the following error message :<o:p></o:p></pre>

<p class=MsoNormal><br>
<b>Warning !!!<br>
Scilab has found a critical error (EXCEPTION_ACCESS_VIOLATION).<br>
Scilab may become unstable.<br>
<br>
</b>I've uninstalled Scilab 4.1.2 and delete temporary folder, delete binary
and then reinstalled but nothing change ? What can I do in order to have the
first state (of stability) ?<br>
<br>
Thanks in advance for any help<br>
Xavier Roguiez<br>
  <o:p></o:p></p>

</div>

</body>

</html>