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)

 Risposta accettata

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.

Più risposte (0)

Categorie

Scopri di più su View and Analyze Simulation Results in Centro assistenza e File Exchange

Prodotti

Richiesto:

il 11 Set 2014

Risposto:

il 11 Set 2014

Community Treasure Hunt

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

Start Hunting!

Translated by