How to set "Start simulation from steady state" in Solver Configuration block from Simscape programmatically?
6 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2020-7-7
回答: MathWorks Support Team
2020-7-7
How to set "Start simulation from steady state" in Solver Configuration block from Simscape programmatically?
采纳的回答
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Troubleshooting 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!