Search code examples
matlabsimulink

Extract value of parameter at specific time step


I am modelling the temperature changes in a building and want to extract the indoor temperature at a specific time (3 hrs) for a 24 hr simulation. However I can't find a way to do this within Simulink.

I have tried the scope, time scope and display nodes but none will allow me to set a time for evaluation. Outputting the data into Matlab gives me a time series which I suppose I could manipulate to extract the information but there must be a simple way of doing this within Simulink as the data is all there. Is there some node I am missing?


Solution

  • You're looking for the "Cursor Measurements Panel".
    From the menu bar, select Tools » Measurement » Cursor Measurements to open it.

    Here you can enter any x-axis value for which you want to find corresponding y-axis value.