필터 지우기
필터 지우기

Signal Builder Time Issue

조회 수: 3 (최근 30일)
Tom
Tom 2011년 10월 13일
I'm having trouble with the signal builder restarting from the beginning of the signal when restarting my model from a saved state.
I'm running a model of a gearbox, running the model up to speed and saving the model state as xFinal, then resimulating the model a number of times in order to optimise the shift, initialising the model using xInitial = xFinal.
The problem is that the signal builder used to control the inputs to the gearbox model is restarting from the beginning of the signal when re-initialising the simulation this way. Is there a way around this?
Thanks Tom

채택된 답변

Fangjun Jiang
Fangjun Jiang 2011년 10월 13일
I think this might be the issue.
When you run the simulation the first time and reach the model state xFinal, you need to record the time stamp.
When you try to run the simulation the second time setting xInitial = xFinal, you need to set the start time as the saved time stamp.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by