<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=us-ascii"><meta name=Generator content="Microsoft Word 14 (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><!--
/* Font Definitions */
@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:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
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;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1126507128;
        mso-list-type:hybrid;
        mso-list-template-ids:1205229808 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></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 lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Dear Scilab Support, <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I have a small problem in Scilab.  <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I have a big code in which I do lot of data extraction like reading data from text file , searching for value ,etc. <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>When some conditions is met , I want to stop executing the rest of the code. <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I did some research in web but could not find a solution like<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='color:#1F497D'><span style='mso-list:Ignore'>1)<span style='font:7.0pt "Times New Roman"'>      </span></span></span><![endif]><b><span style='color:#1F497D'>Break</span></b><span style='color:#1F497D'> command in Scilab behaves little differently from Matlab. <o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='color:#1F497D'><span style='mso-list:Ignore'>2)<span style='font:7.0pt "Times New Roman"'>      </span></span></span><![endif]><b><span style='color:#1F497D'>Halt</span></b><span style='color:#1F497D'> command does not serve the purpose. <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I have a part of code in Matlab where it works using <b>break</b> command. <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='color:#1F497D'>Matlab Code<o:p></o:p></span></b></p><p class=MsoNormal><span style='color:#00B0F0'>num_inject=3   <b>% Check if num_inject=3</b><o:p></o:p></span></p><p class=MsoNormal><b><span style='color:#00B0F0'>%if  num_inject=3 then stop executing the rest of the code<o:p></o:p></span></b></p><p class=MsoNormal><span style='color:#00B0F0'>if num_inject==3; <o:p></o:p></span></p><p class=MsoNormal><span style='color:#00B0F0'>     Message={'This script is not suitable for Triple injection'};<o:p></o:p></span></p><p class=MsoNormal><span style='color:#00B0F0'>     </span><span lang=FR style='color:#00B0F0'>h = msgbox(Message,'Quit');<o:p></o:p></span></p><p class=MsoNormal><span lang=FR style='color:#00B0F0'>    uiwait(h);<o:p></o:p></span></p><p class=MsoNormal><span lang=FR style='color:#00B0F0'>    </span><span style='color:#00B0F0'>break;<o:p></o:p></span></p><p class=MsoNormal><span style='color:#00B0F0'>end</span><span style='color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Please help in resolving this issue. <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Regards<o:p></o:p></span></p><div><p class=MsoNormal><b><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'>Devaraj</span></b><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'> | Assistant Manager | Tools and Methods |<br><b>RENAULT NISSAN TECHNOLOGY & BUSINESS CENTRE INDIA PRIVATE LIMITED<br></b>Ascendas IT Park, Mahindra World City SEZ | Plot # TP2/1, Natham Sub Post Office |<br>3<sup>rd</sup> Floor | Chengelpattu | Kancheepuram District | Tamilnadu 603002 | India |<br>Tel #  | + 9144-67416303 |<br>eMail | </span><span lang=FR style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'><a href="mailto:devaraj.munian@rntbci.com"><span lang=EN-US>devaraj.munian@rntbci.com</span></a></span><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'> | <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D'><img border=0 width=175 height=25 id="_x0000_i1026" src="cid:image001.gif@01CE3519.BB7B0820" alt="cid:727344808@01032012-1EA6"></span><b><span lang=FR style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'><o:p></o:p></span></b></p><p class=MsoNormal><b><span lang=FR style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'><o:p> </o:p></span></b></p><p class=MsoNormal><b><span lang=ES-TRAD style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:red'>T</span></b><b><span lang=ES-TRAD style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:gray'>OGETHER</span></b><span lang=ES-TRAD style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'> </span><b><span lang=ES-TRAD style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:red'>E</span></b><b><span lang=ES-TRAD style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:gray'>VERYBODY</span></b><span lang=ES-TRAD style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'> </span><b><span lang=ES-TRAD style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:red'>A</span></b><b><span lang=ES-TRAD style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:gray'>CHIEVES</span></b><b><span lang=ES-TRAD style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:red'> M</span></b><b><span lang=ES-TRAD style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:gray'>ORE</span></b><span lang=FR style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'> <o:p></o:p></span></p></div><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Munian, Devaraj <br><b>Sent:</b> Thursday, March 14, 2013 9:46 AM<br><b>To:</b> 'users@lists.scilab.org'<br><b>Subject:</b> Data Extraction Issue in Scilab<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p>Dear Scilab Support,<o:p></o:p></p><p>We here in RNTBCI are testing Scilab to compare it against Matlab. We are doing a pilot project to convert our script in Matlab to Scilab for validating purpose.<o:p></o:p></p><p>If we are able to get the same result in Scilab compared with Matlab, we will be converting all our Matlab applications into Scilab applications.<o:p></o:p></p><p>During our pilot project which is a most simplest project we are not able to proceed further because of issues mentioned in the ppt.<o:p></o:p></p><p>I have also attached the data files and Matlab files for your reference.<o:p></o:p></p><p>It will be really grateful if the issue is addressed at the earliest.<o:p></o:p></p><p>Regards<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'>Devaraj</span></b><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'> | Assistant Manager | Tools and Methods |<br><b>RENAULT NISSAN TECHNOLOGY & BUSINESS CENTRE INDIA PRIVATE LIMITED<br></b>Ascendas IT Park, Mahindra World City SEZ | Plot # TP2/1, Natham Sub Post Office |<br>3<sup>rd</sup> Floor | Chengelpattu | Kancheepuram District | Tamilnadu 603002 | India |<br>Tel #  | + 9144-67416303 |<br>eMail | </span><span lang=FR style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'><a href="mailto:devaraj.munian@rntbci.com"><span lang=EN-US>devaraj.munian@rntbci.com</span></a></span><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'> | <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><img border=0 width=175 height=25 id="Picture_x0020_1" src="cid:image001.gif@01CE3519.BB7B0820" alt="cid:727344808@01032012-1EA6"></span><b><span lang=FR style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'><o:p></o:p></span></b></p><p class=MsoNormal><b><span lang=FR style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'><o:p> </o:p></span></b></p><p class=MsoNormal><b><span lang=ES-TRAD style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:red'>T</span></b><b><span lang=ES-TRAD style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:gray'>OGETHER</span></b><span lang=ES-TRAD style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'> </span><b><span lang=ES-TRAD style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:red'>E</span></b><b><span lang=ES-TRAD style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:gray'>VERYBODY</span></b><span lang=ES-TRAD style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'> </span><b><span lang=ES-TRAD style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:red'>A</span></b><b><span lang=ES-TRAD style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:gray'>CHIEVES</span></b><b><span lang=ES-TRAD style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:red'> M</span></b><b><span lang=ES-TRAD style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:gray'>ORE</span></b><span lang=FR style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'> <o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div><p>***********************************************************************************************************<br>
CONFIDENTIALITY NOTICE<br>
 <br>
This message is for the named person's use only.  It may contain confidential, proprietary or legally privileged information.<br>
 <br>
If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify us by email to email.security@rntbci.com with a copy of this message. You must not, directly or indirectly, use, disclose, distribute, print or copy any part of this message if you are not the intended recipient. RNTBCI and any of its subsidiaries each reserves the right to monitor all e-mail communications through its networks.<br>
 <br>
RNTBCI is neither liable for the proper, complete transmission of the information contained in this communication nor any delay in its receipt. This email was scanned for the presence of computer viruses. In the unfortunate event of infection RNTBCI does not accept any liability.<br>
 <br>
Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them.<br>
***********************************************************************************************************</p></body></html>