Continuous simulink model works fine but not the discrete version of the exact same simulink model, why?

2 ビュー (過去 30 日間)
My continuous model works fine and I get a great result out from it. However, when I have discretized the model it stops giving a result, diverges to -inf and sometimes inf, after 1e-3 seconds.
How come the model works great for continuous states but not the discrete states?

回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2015 年 6 月 24 日
It's not obvious to answer your question, since we don't know much about your case, if the discretization was correct or not. The sampling time was well chosen or not, and many other questions we could ask.

カテゴリ

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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by