Re: [Scilab-users] Read a matrix embedded in an unstructured text-file

2024-07-05 Thread Helmut Haase
Hallo CHEZE David, Many thanks for your answer! It lead to solve my problem. I apologize for answering so late. I am somewhat confused about the organisation of the mailing list correspondance. I had expected a mail notification of your answer, but there is none. I hope this message makes it to ge

Re: [Scilab-users] Read a matrix embedded in an unstructured text-file

2024-07-01 Thread CHEZE David
Hi Jens, With fname the file path to your text file, the following script is actually extracting the regular numerical data 'res' as a nx4 matrix of real , then you may extract the specific data that you mentioned . David sf= mgetl(fname); res=[] for i=1:size(sf,1) tmp= strtod(tokens(sf(i