Error while using derivative
古いコメントを表示
Hello, I'm getting the following error while trying to compute my simulation. I've tried to change the solver but I didn't really help. The problem is that this model do actually work on Matlab 2009b, but it fails to compute on Matlab 2017a, which is my objective. Could you possibly help me with this error?
Error using test7_poscig_a (line 20)
Simulink cannot solve the algebraic loop containing 'Metody_test7_a/Derivative3' at time
5.4656330917168992E-8 using the TrustRegion-based algorithm due to one of the following
reasons: the model is ill-defined i.e., the system equations do not have a solution; or the
nonlinear equation solver failed to converge due to numerical issues.
To rule out solver convergence as the cause of this error, either
a) switch to LineSearch-based algorithm using
set_param('Metody_test7_a','AlgebraicLoopSolver','LineSearch')
b) reducing the ode113 solver RelTol parameter so that the solver takes smaller time
steps.
If the error persists in spite of the above changes, then the model is likely ill-defined and
requires modification.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Configure Simulation Conditions についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!