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)

 채택된 답변

Paul
Paul 2014년 9월 11일

0 개 추천

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에서 View and Analyze Simulation Results에 대해 자세히 알아보기

제품

질문:

2014년 9월 11일

답변:

2014년 9월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by