[Scilab-users] Data Extraction Issue in Scilab

Munian, Devaraj devaraj.munian at rntbci.com
Tue Apr 9 08:29:47 CEST 2013


Dear Scilab Support,

I have a small problem in Scilab.
I have a big code in which I do lot of data extraction like reading data from text file , searching for value ,etc.
When some conditions is met , I want to stop executing the rest of the code.

I did some research in web but could not find a solution like
1)      Break command in Scilab behaves little differently from Matlab.
2)      Halt command does not serve the purpose.

I have a part of code in Matlab where it works using break command.

Matlab Code
num_inject=3   % Check if num_inject=3
%if  num_inject=3 then stop executing the rest of the code
if num_inject==3;
     Message={'This script is not suitable for Triple injection'};
     h = msgbox(Message,'Quit');
    uiwait(h);
    break;
end

Please help in resolving this issue.

Regards
Devaraj | Assistant Manager | Tools and Methods |
RENAULT NISSAN TECHNOLOGY & BUSINESS CENTRE INDIA PRIVATE LIMITED
Ascendas IT Park, Mahindra World City SEZ | Plot # TP2/1, Natham Sub Post Office |
3rd Floor | Chengelpattu | Kancheepuram District | Tamilnadu 603002 | India |
Tel #  | + 9144-67416303 |
eMail | devaraj.munian at rntbci.com<mailto:devaraj.munian at rntbci.com> |
[cid:image001.gif at 01CE3519.BB7B0820]

TOGETHER EVERYBODY ACHIEVES MORE

From: Munian, Devaraj
Sent: Thursday, March 14, 2013 9:46 AM
To: 'users at lists.scilab.org'
Subject: Data Extraction Issue in Scilab


Dear Scilab Support,

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.

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.

During our pilot project which is a most simplest project we are not able to proceed further because of issues mentioned in the ppt.

I have also attached the data files and Matlab files for your reference.

It will be really grateful if the issue is addressed at the earliest.

Regards

Devaraj | Assistant Manager | Tools and Methods |
RENAULT NISSAN TECHNOLOGY & BUSINESS CENTRE INDIA PRIVATE LIMITED
Ascendas IT Park, Mahindra World City SEZ | Plot # TP2/1, Natham Sub Post Office |
3rd Floor | Chengelpattu | Kancheepuram District | Tamilnadu 603002 | India |
Tel #  | + 9144-67416303 |
eMail | devaraj.munian at rntbci.com<mailto:devaraj.munian at rntbci.com> |
[cid:image001.gif at 01CE3519.BB7B0820]

TOGETHER EVERYBODY ACHIEVES MORE

***********************************************************************************************************
CONFIDENTIALITY NOTICE
 
This message is for the named person's use only.  It may contain confidential, proprietary or legally privileged information.
 
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 at 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.
 
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.
 
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.
***********************************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20130409/612c5601/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 2099 bytes
Desc: image001.gif
URL: <https://lists.scilab.org/pipermail/users/attachments/20130409/612c5601/attachment.gif>


More information about the users mailing list