Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
How to reduce step size in SIMULINK

Subject: How to reduce step size in SIMULINK

From: Mehdi

Date: 9 Nov, 2013 00:13:06

Message: 1 of 2

Hello,
I get the following message while running my Simulink model:
"Derivative input 1 of 'output_control/trans_dynamics/v' at time 0.0 is Inf or NaN. Stopping simulation. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)"
How can I reduce the step size as instructed?
Thank you.

Subject: How to reduce step size in SIMULINK

From: Phil Goddard

Date: 9 Nov, 2013 06:27:18

Message: 2 of 2

Chances are that you have an inf or nan and hence reducing the step size will make no difference.
But to do so you use the Solver options on the Simulation->Model Configuration Parameters menu.

Phil.

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us