The simulink simulation slows down when I use a switch, it does not give any error but it stays at .5 second indifinitely!

7 ビュー (過去 30 日間)
GD
GD 2015 年 2 月 10 日
編集済み: A Jenkins 2015 年 2 月 10 日
I am trying to select one output from two blocks depending on certain conditions, and then forward that signal as input to another block, but the simulation almost comes to a standstill and I also get no error. What could be the problem?

回答 (1 件)

A Jenkins
A Jenkins 2015 年 2 月 10 日
編集済み: A Jenkins 2015 年 2 月 10 日
You have not chosen the correct solver for your application.
You will need to use Simulation->Model Configuration Parameters->Solver to adjust your solver types, tolerances, and/or step sizes to account for the stiffness of the switch.

カテゴリ

Help Center および File ExchangeManual Performance Optimization についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by