Filter löschen
Filter löschen

How to enter time if it is set to the following format

1 Ansicht (letzte 30 Tage)
Yoanna Ivanova
Yoanna Ivanova am 10 Mär. 2020
Beantwortet: Subhamoy Saha am 10 Mär. 2020
I have an excel file where I want to enter some dates and times . I have a matlab script that specifies their format like this:
formatInDate = 'dd-mm-yyyy';
timeStep = 1/24/60/60/25;%
So I get that the date must be 10-03-2020 but how do I enter the time?

Antworten (1)

Subhamoy Saha
Subhamoy Saha am 10 Mär. 2020
Use to get current time
datestr(now,"HH:MM:SS")

Kategorien

Mehr zu Data Import from MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by