How can I add (timeseries) data to a constant in simulink when i get signal?

I have to simulate the energy consumption of a machine. Of this machine I have a list of movements, which has about 100000 lines. One movement is not so important for the simulation so I've measured the demand of energy for this. The whole system is build in Simulink with some Stateflow parts. My problem is: I can't figure out how to add the measured data to the basic energy consumption (constant) at a specific start time. I tried it with a timeseries-block in an enabled subsystem but it won't start at the start time. (attached file)

 采纳的回答

I found a solution. I took a "Lookup Table Dynamic". With that i can get the Data of the measure relative to the time when i get the signal. See the Picture below.

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Modeling 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by