<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Try<span class="functionid"> errcatch</span><span class="default">().</span>
<div class="refsynopsisdiv">
<div class="synopsis"> </div>
----------------------------------------------------------------------------</div>
<br>
<div class="moz-cite-prefix">Am 06.10.2016 10:51, schrieb
<a class="moz-txt-link-abbreviated" href="mailto:paul.carrico@free.fr">paul.carrico@free.fr</a>:<br>
</div>
<blockquote
cite="mid:1695201020.364037264.1475743899649.JavaMail.root@zimbra5-e1.priv.proxad.net"
type="cite">
<style type="text/css">p { margin: 0; }</style>
<div style="font-family: times new roman,new york,times,serif;
font-size: 12pt; color: #000000">
<p class="MsoNormal">Hi All<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">I’m using
Scilab as the interface between my optimizer and my finite
element solver(s)
and sometimes Scilab stops because of unexpected and
impossible calculus (1/x
with x = 0 as an example ); obviously Scilab stops (and so
the optimization).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">I’m
wondering if it’s possible:<o:p></o:p></span></p>
<p class="MsoListParagraph"
style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
lang="EN-US">-<span style="font-variant-numeric: normal;
font-stretch: normal; font-size: 7pt; line-height: normal;
font-family: "Times New Roman";">
</span></span><!--[endif]--><span lang="EN-US">To
ask back Scilab a message such as “hey I crashed because
you’re a fool and
you’ve not anticipated an impossible calculation !!!”<o:p></o:p></span></p>
<p class="MsoListParagraph"
style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
lang="EN-US">-<span style="font-variant-numeric: normal;
font-stretch: normal; font-size: 7pt; line-height: normal;
font-family: "Times New Roman";">
</span></span><!--[endif]--><span lang="EN-US">To
get back Scilab control in order to avoid optimization
process crash ? I’ve
been thinking in affecting a cost function value at %inf for
example (not
elegant I recognize)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">I don’t
know if I’m understandable enough …<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Paul</span><o:p></o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>