[Scilab-users] API SCILAB: ilib_compile: Error while executing Makelib.

2013-03-14 Thread Theo
I am trying to run the example given on the Getting started page (http://help.scilab.org/docs/5.4.0/en_US/api_scilab_getting_started.html) But I got the error below. Any help please ? =

Re: [Scilab-users] Data Extraction Issue in Scilab

2013-03-14 Thread Saket Choudhary
Issue 1 : data=read(engine.in,-1,1) data = 0.08 0.08 0.001671 0.14835 0. 4000. 1.7 3.11 0. 1. 4. 5. 0. Saket Choudhary Undergraduate Student IIT Bombay India On 14 March 2013 09:46, Munian, Devaraj devaraj.mun...@rntbci.com wrote: Dear

Re: [Scilab-users] Data Extraction Issue in Scilab

2013-03-14 Thread Stéphane Mottelet
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');

Re: [Scilab-users] Data Extraction Issue in Scilab

2013-03-14 Thread Stéphane Mottelet
Sorry for the small typing errors ("data" instead of "data1") : 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(data1=='bore');