MATLAB Answers

How do I change the time unit of my signal (from second to hour) in the signal builder block?

14 views (last 30 days)
felix sippel
felix sippel on 26 Mar 2019
Hello, I have a problem in the Signal Builder block in Simulink.
I am defining two signals (Irradiance and Temperature) with hourly values (8760) for a specific year. However, when I set the time range in the signal builder to 8760, the signal builder shows all 8760 values but adjusts the unit of the time axis automatically to second (sec). So far, I did not find a way to change the time unit from second to hour.
InkedSignal Builder Problem with time unit_LI.jpg
Does anyone have a solution to this problem?
Kind regards, Felix

Answers (1)

Arvind Sathyanarayanan
Arvind Sathyanarayanan on 27 Mar 2019
Edited: Arvind Sathyanarayanan on 27 Mar 2019
Felix, I don't think you change the time to hours but in reality time in simulink is unitless. Please see this answer.

Community Treasure Hunt

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

Start Hunting!