Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
HTMLPad 2018 15.5
WeBuilder 2018 15.5
SentiMask SDK Trial 2.0.0
Track Order For Magento 2 1.0.0
Calendar 365 For Dynamics CRM 4.0
Scimbo 1.2
Odoo Furnito Theme 1.0
.Net Assemblies/WSDL Import Utility for Delphi 6.0.4.0
Devart Excel Add-in for Zendesk 1.7
Excel Add-in for Marketo 1.7
GetOrgChart 2.5.3
AnyGantt JS Gantt Charts 8.6.0
AnyChart JS Charts and Dashboards 8.6.0
Multi Vendor Ecommerce Script & Apps 4.0
Magento 2 Inventory Management Extension 1.0
Top Code
HTMLPad 2018 15.5
MCU 8051 IDE 1.4.7
jQuery Slider Ken Burns 1.0
Extreme Injector 3.7
Azizi search engine script PHP 4.1.10
BedRock IDE 1.0
Email Grabber
Guest Book V. 2 V2
XML Products Showcase Slider 1.0
Free Pageant Contest Source Code 1.0
ActivePerl 5.8.4.810/5.6.1.638
Calendar 365 For Dynamics CRM 4.0
Gz Hotel Booking Script 2.0
Image Reconstruction Demo (GUI) 1.0
CardCheck COM DLL for Credit Card Processing 1.1
Top Rated
VisualNEO Web 2018.12.15
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
DateStr2Num 1.0
File ID: 83171






DateStr2Num 1.0
Download DateStr2Num 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 3
Submit Rating:
DateStr2Num 1.0 Description
Description: DATESTR2NUM - Fast conversion of DATESTR to DATENUM

The builtin DATENUM command is very powerful, but if the input is known to be valid and formatted exactly, a specific MEX can be much faster:
For single strings DateStr2Num takes > [734318.916122685, 734318.916122685]
Equivalent Matlab command (but a column vector is replied ever):
D = datenum(C, 'yyyy-mm-dd HH:MM:SS')

Precompiled Mex files: http://www.n-simon.de/mex

Tested: Matlab 6.5, 7.7, 7.8, 32bit, WinXP
Compiler: LCC 2.4/3.8, BCC 5.5, Open Watcom 1.8, MSVC 2008
Compatibility to MacOS, Linux, 64 bit is assumed, but not tested.

See also: DateConvert (Jan Simon)
http://www.mathworks.com/matlabcentral/fileexchange/25594

License: Shareware

Related: Serial, output, yyyymmddthhmmssfff, datestr numc, yyyymmdd, 20000301t154517

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 3



More Similar Code

DateConvert: Simple but fast date conversion

DateConvert converts the DATESTR(0) format to a date vector or serial date number and backwards.

Matlab's DATENUM, DATEVEC and DATESTR accept a variety of inputs, but in consequence they are slow. If the input format is exactly known, the conversion can be much faster:
DATENUM('17-Oct-2009 11:08:23'): 2.97 sec
DateConvert('17-Oct-2009 11:08:23', 'number'): 0.039...

User Review for DateStr2Num
- required fields
     

Please enter text on the image