Restoring model operating point and resetting time

3 ビュー (過去 30 日間)
Aritra Sasmal
Aritra Sasmal 2020 年 7 月 25 日
回答済み: Fangjun Jiang 2020 年 7 月 26 日
I have a saved model operating point at time t=2s. I would like to start at the state in the operating point at t=2s, but would like the solver to start from t=0 rather than at t=2s. In other words I am trying to seed the initial condition of the solver with values at t=2s. Is there a way to do this?

回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2020 年 7 月 26 日
Utilize the "Initial State" and "States" in Configuration Parameters, Data Import/Export. Basically, log the "States" of one simulation and use it to set the "Initial State" of another simulation.
Or, use "State Reader" and "State Writer" block in Simulink Signal Routing library if your version has it. It provides total control for states if you prefer.

カテゴリ

Help Center および File ExchangeEvent Functions についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by