Hi,
These line are Matlab:
indata=inputdlg({'input filename'});
a = imread(indata{1});
How can I write these lines in scilab?
Thanks.
--
Daniel de Souza Santos
Professor de Física
UFRPE - UAST
(81) 9988 6670
(87) 8855 3970
___
users mailing list
user
Ooops:while ~meof
-"users" escreveu: -
Para: users@lists.scilab.orgDe: simon_37 Enviado por: "users"
Data: 12/12/2013 07:46 AMAssunto: Re: [Scilab-users] Put .txt data in matrix
Hi Osvaldo,
Thanks for your reply.I think your "piece" of code is the most efficient that I search.
But
Thanks you to everyone for their help.
It's finally done.
I drop my code :
[FileName,PathName] = uigetfile('','','sélectionnez le(s) fichier(s) à
traiter',%t);
f = fullfile(PathName, FileName)
f1 = mopen(f,"r");
garbage = mgetl(f1,15);
m = [];
while ~meof(f1)
line = mgetl(f1,1) // read o
I use to read text files with Scilab. This piece of code is close to the one I
use.
To save time, one can give a dimension to ‘m’ :
Instead of m=[]
Prefer m=zeros(1,4); // by-exemple
Gilles
Tel : +33 (0)4 42 25 20 33 - Mob : +33 (0) 6 87 99 19 57 - Fax : +33 (0)4 42
25 49 17
gilles.gobil.
Hi Osvaldo,
Thanks for your reply.
I think your "piece" of code is the most efficient that I search.
But Scilab don't recognize the "not" in the while loop parameters...
I am trap.
Regards
Simon
2013/12/11 Osvaldo Carvalho [via Scilab / Xcos - Mailing Lists Archives] <
ml-node+s994242n4028015.