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

4 vues (au cours des 30 derniers jours)
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

Réponses (1)

Arvind Sathyanarayanan
Arvind Sathyanarayanan le 27 Mar 2019
Modifié(e) : Arvind Sathyanarayanan le 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.

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by