フィルターのクリア

Signal Builder Time Issue

1 回表示 (過去 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 Center および File ExchangeSources についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by