How to disable the Diagnostic...taking too much of time

Hello Friends, I am trying to solve a symscape model. And its taking too much of time. I am getting following error. Please help me.
Warning: The solver chosen is not recommended if the model is stiff, which is typical for models containing Simscape components. These solvers are typically preferred for Simscape models: ode23t, ode15s or ode14x (fixed-step). To disable this diagnostic, change the explicit solver diagnostic setting on the Simscape panel of the model Configuration Parameters.

2 Comments

Turning off the warning message is going to change your solution time by a small fraction of a second. Have you considered switching to a fixed-step solver like the message suggests?
What is not clear?... "To disable this diagnostic, change the explicit solver diagnostic setting on the Simscape panel of the model Configuration Parameters."

Answers (0)

This question is closed.

Products

Asked:

on 18 Apr 2013

Closed:

on 23 Dec 2025

Community Treasure Hunt

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

Start Hunting!