How to set "Start simulation from steady state" in Solver Configuration block from Simscape programmatically?

14 ビュー (過去 30 日間)

How to set "Start simulation from steady state" in Solver Configuration block from Simscape programmatically?

採用された回答

MathWorks Support Team
MathWorks Support Team 2020 年 7 月 7 日
The block property which needs to be set is 'DoDC'. If the Solver Configuration block is the current block, it works like the following to enable it:
>> set_param(gcb,'DoDC','on')
To disable it, use:
>> set_param(gcb,'DoDC','off')

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeVariable Initialization についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by