[Scilab-users] Data Extraction Issue in Scilab

Carrico, Paul paul.carrico at esterline.com
Thu Mar 14 11:34:25 CET 2013


a small mistake (typo error)  in the previous code ... change data1 in data (or vice versa)

________________________________

De : users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] De la part de Stéphane Mottelet
Envoyé : jeudi 14 mars 2013 11:08
À : International users mailing list for Scilab.
Objet : Re: [Scilab-users] Data Extraction Issue in Scilab



Hello,

this small script solves your problem :


fd=mopen('engine.in','r');
s=mgetl(fd);
mclose(fd);
data1=[];
for i=1:size(s,1)
    w=strsplit(s(i),'/\s+/');
    for j=1:size(w,1)
        data1(i,j)=w(j);
    end
end

[r,c]=find(data=='bore');
bore=eval(data(r(1),c(1)-1));


Hope this helps,

S.

Le 14/03/13 05:16, Munian, Devaraj a écrit :


	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>  | 

	 

	

	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.
	***********************************************************************************************************


	 
	
	_______________________________________________
	users mailing list
	users at lists.scilab.org
	http://lists.scilab.org/mailman/listinfo/users



--------------------------------------------------------------------------------


Le présent mail et ses pièces jointes sont confidentiels et destinés à la personne ou aux personnes visée(s) ci-dessus. Si vous avez reçu cet e-mail par erreur, veuillez contacter immédiatement l'expéditeur et effacer le message de votre système. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite.

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20130314/60395ea0/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ATT351005.gif
Type: image/gif
Size: 2099 bytes
Desc: ATT351005.gif
URL: <https://lists.scilab.org/pipermail/users/attachments/20130314/60395ea0/attachment.gif>


More information about the users mailing list