Hello Daniel,
In addition to Antoine simple and efficient solution, the following
works as well (and may be a bit faster for big files. To be confirmed):
File = "output.txt";
m = read(File,-1, size(evstr(mgetl(File,1)),2));
Regards
Le 10/09/2020 à 00:03, Daniel Stringari a écrit :
Good evening everyone,
I'm integrating scilab with other software, so I need to read an output file
(.txt), like the one attached (output).
It is worth mentioning that this file does not always have the same
dimensions (matrix), so I am trying to find something robust that can deal
with this particularity. I tried to use the 'csvread' function and the
'read' function, but I still haven't been successful ... Any suggestions?
output.txt <http://mailinglists.scilab.org/file/t498028/output.txt>
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users