how to run a simulation at different times

I would like to run my model, lets say 3 days at 40C temperature and 4days at 60C and so on.
As per my understanding and trail, i have used a if block and merge the signals, is it right?
how can i change that time and input value to simulate? iw ould like to see how it's changing with time and temperature.
have a look at the attachments for better view, any views and guidance?

Answers (1)

You can use the Signal Builder block to configure how you want a signal to change over time. I assume you are simulating the model one time for seven days total.

Categories

Find more on Simulink in Help Center and File Exchange

Asked:

on 10 Oct 2022

Answered:

on 10 Oct 2022

Community Treasure Hunt

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

Start Hunting!