Fast String to Double Conversion

str2doubleq converts text to double like Matlab's str2double,but up to 400x faster! multithreaded.

Download
Download

You are now following this Submission

Cite As

Quant Guy (2026). Fast String to Double Conversion (https://in.mathworks.com/matlabcentral/fileexchange/28893-fast-string-to-double-conversion), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Faster alternative to builtin str2double

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.8.0

*Fixed a bug with scientific notation. Thanks for the feedback.

Download
1.7.0

-Implemented "hand massaged" highly efficient parser.
-Added support to parse also complex numbers
-Restructured code to being more neat

Download
1.3.0

* Thanks to Jan Simons feedback, fixed some bugs and documentation. Also was able to tweak about 35% performance boost compared to earlier implementation.

Download
1.0.0

Download