how to overcome this error? The "FixedStepDiscrete" solver cannot be used to simulate block diagram 'Power_PMS​M_Drive_Di​agram_comp​lete' because it contains continuous states?

5 ビュー (過去 30 日間)
parth patel
parth patel 2013 年 3 月 26 日
回答済み: Sabin 2025 年 11 月 10 日 20:55
The "FixedStepDiscrete" solver cannot be used to simulate block diagram 'Power_PMSM_Drive_Diagram_complete' because it contains continuous states

回答 (1 件)

Sabin
Sabin 2025 年 11 月 10 日 20:55
This tells you that some states in the model are continuous states. It can be a continuous integrator, or powergui block set to continuous time. When the model has continuous states a discrete solver cannot be used. However, we can still use other solvers such as ode14x, ode1 to ode8, auto. If you need to use "FixedStepDiscrete" then the option is to discretize the model and ensure there are no continuous states.

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by