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

3 次查看(过去 30 天)
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

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by