Rank: 1388 based on 103 downloads (last 30 days) and 3 files submitted
photo

Andres

E-mail

Personal Profile:

 

Watch this Author's files

 

Files Posted by Andres View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
24 Mar 2014 txt2mat fast and versatile ascii data import capable of handling large text files Author: Andres data import, read, ascii, data, file, import 80 40
  • 4.86111
4.9 | 36 ratings
28 Oct 2010 Screenshot index or subscript in datatip displays linear index (for vectors) or subscript (for arrays) of plotted data within the datatip Author: Andres data exploration, datatip, datatip text update f... 11 0
  • 5.0
5.0 | 1 rating
09 Jul 2009 Screenshot surfo workaround for surface lighting with OpenGL Author: Andres plot, surf, surface, surface normals, opengl, light 12 1
  • 5.0
5.0 | 1 rating
Comments and Ratings by Andres View all
Updated File Comments Rating
23 Mar 2014 txt2mat fast and versatile ascii data import capable of handling large text files Author: Andres

Hi Kaare, I had no success in contacting you via your author page, but thanks for your suggestion. And yes, a new version of txt2mat capable of skipping lines by line number will come up soon.

10 Jul 2013 Outliers Create vectors of outliers and non-outliers according to either Grubbs or Interquartile range method Author: Niccolo Battistini

Requires Statistics Toolbox. Please mention any requirements to help avoid futile downloads.

06 Jun 2011 Loader of a .txt file to a MATLAB matrix Loads a content of a .txt file and stores it in a MATLAB matrix Author: Luka

Hi Luka,
welcome to the file exchange -- however there is already a submission called "txt2mat", http://www.mathworks.com/matlabcentral/fileexchange/18430-txt2mat . Would you please consider renaming (just) your .m-file? I think some users might get confused when they search the file exchange for txt2mat, especially since both files are to serve a similar purpose.
Kind regards
Andres

24 Nov 2010 txt2mat fast and versatile ascii data import capable of handling large text files Author: Andres

Hi arouabm Ben Mohamed,
I'm sorry, txt2mat does not support mixed string/numeric output in cells as e.g. textscan does. It would be quite hard (probably) to change this without sacrificing speed and R13 compatibility.
Btw, you can use some features of txt2mat (like line filtering) with read mode 'char' and use textscan afterwards (see example 3b).
Perhaps, if ease of use is more important than speed, you may find the fex submission "readtext" useful as well.

16 May 2010 txt2mat fast and versatile ascii data import capable of handling large text files Author: Andres

Thanks for your feedback. Indeed it would be nice to have a handy column selection input argument instead of using 'ConvString' with something like '%f %*f %f %*f %f'.
Regarding your memory issue, so far I can only refer to the 'NumericType' param and especially to example 6, but you probably found that in the doc already. txt2mat reads in the whole part of the file that is to be imported and initializes the output array. In an extreme case, a double array holding the data may consume about four times more memory than the file, unless some rows have missing values. I am thinking about making txt2mat more memory efficent - e.g. avoid slurping large files - without noticeably loosing speed (but tbh I have hardly any spare time now).

Comments and Ratings on Andres 's Files View all
Updated File Comment by Comments Rating
06 May 2014 txt2mat fast and versatile ascii data import capable of handling large text files Author: Andres Tom Are

15 Apr 2014 txt2mat fast and versatile ascii data import capable of handling large text files Author: Andres Marcelo Toledo

23 Mar 2014 txt2mat fast and versatile ascii data import capable of handling large text files Author: Andres Andres

Hi Kaare, I had no success in contacting you via your author page, but thanks for your suggestion. And yes, a new version of txt2mat capable of skipping lines by line number will come up soon.

23 Jan 2014 txt2mat fast and versatile ascii data import capable of handling large text files Author: Andres Kaare

Very good :) Very fast!
Would it be possible to also include a "skip every n'th line" argument? It's really all it needs for me to discard my own implementation and use this instead.

12 Sep 2013 txt2mat fast and versatile ascii data import capable of handling large text files Author: Andres Andre

Great! Thanks a lot. Works perfect!

Contact us