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

8 views (last 30 days)
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)

Accepted Answer

Paul
Paul on 11 Sep 2014
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.

More Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!