フィルターのクリア

The "FixedStepDiscrete" solver cannot be used to simulate block diagram because it contains continuous states

23 ビュー (過去 30 日間)
Hello,
For a project I am building a model in simulink which I want to convert into another type of file that requires an "FixedStepDiscrete" Solver. However, everytime I try to convert it I get this message:
"The "FixedStepDiscrete" solver cannot be used to simulate block diagram XYZ because it contains continuous states"
I think I get this message because I use PS-simulink and Simulink-PS converters in the XYZ block diagram (which use continous states if I am not wrong). Unfortunately, I think I really have to use these converters for my model, so I can not just remove them. Is there another type of block that I can use? Or is there a another way that allows me to have these converters and use a "FixedStepDiscrete" solver?
Please let me know,
Thank you in advance!

採用された回答

Friso
Friso 2022 年 7 月 15 日
Nevermind, I could easily fix this problem by switching the Solver from discrete (no continous states) to ode 4.

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by