How do I change the time unit of my signal (from second to hour) in the signal builder block?
5 次查看(过去 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.
Does anyone have a solution to this problem?
Kind regards, Felix
0 个评论
回答(1 个)
Arvind Sathyanarayanan
2019-3-27
编辑: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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!