How to convert a number to date time in Simulink blocks

2 views (last 30 days)
Hello, I would like to convert a UTC time (i.e. in the formate of a no. e.g. 41644) to a date time formate (e.g. 05/01/2014 18:00:00). the normal function for this conversion in MATLAB is datestr but for some reason I am not able to use this function in SIMULINK. appreciate your guidance in how to do this date time conversion inside SIMULINK. thanks...
Best Regards, Mohamed Amer
  1 Comment
Kaustubha Govind
Kaustubha Govind on 12 Mar 2014
In Simulink, signals can only be numeric. What kind of signal do you intend to use to represent the date-time string?

Sign in to comment.

Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!