Converts text timestamps to duration data type.
Updated 26 Apr 2018

View License

Beginning in MATLAB R2018a, you can create durations from text using the duration function and import functions. The text2duration function is intended to provide similar functionality for earlier releases. It may also be used to convert text timestamps in some formats not recognized by the duration function.

Cite As

Heather Gorr, PhD (2024). text2duration (https://www.mathworks.com/matlabcentral/fileexchange/66940-text2duration), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes