Posts 1 - 10 of 16

Derivative of state ‘1’ in block ‘X/Y/Integrator’ at time 0.55 is not finite

Let's look at another frequently visited MATLAB Answers page:Derivative of state '1' in block 'X/Y/Integrator' at time 0.55 is not finite.The ProblemHere is a simple model similar to the one I have... 更多内容 >>

Computing π… Simscape Multibody Style1

On this π day 2024, I decided to tag along with Mike Croucher from The MATLAB Blog and show one way to compute π.While Mike went for advanced maneuvers involving the MATLAB AI Chat Playground,... 更多内容 >>

Optimizing Data Types with the Fixed-Point Tool2

Have you ever had one of those days... ?

The Explanation
When I see things like that, my first reflex is usually to turn on most of the items in the Display menu. In this case, displaying the port... 更多内容 >>

Improved Behavior of Auto Tolerance in R2017a

Are you familiar with the meaning of auto for the Absolute tolerance of Simulink variable-step solvers?
In R2017a, we decided to change the meaning of auto for the Absolute Tolerance... If your model... 更多内容 >>

Simulink Debugger: Monitoring Variable Step Solver Performance2

A few months ago I introduced my favorite command to analyze the performance of a variable-step solver. This week, I will introduce how the Simulink Debugger can be used for a deeper analysis of... 更多内容 >>

Why do we need Stiff ODE Solvers?2

I hope you have noticed the new MATLAB Central blog: Cleve's Corner. Cleve once said "stiffness is an efficiency issue." Let's explore this from a Simulink point of view by revisiting an article by... 更多内容 >>

THE Most Useful Command for Debugging Variable Step Solver Performance2

Today I want to share a trick I often use to determine if a variable step simulation runs as fast as it should. Visualizing the steps taken by a model To begin, save the simulation time data.... 更多内容 >>

Different Results in Accelerated Mode Versus Normal Mode8

By Guy Rouleau This week I received a large model giving different results when used as a referenced model in Accelerated mode, compared to the Normal Mode. To give you an idea, the top model in... 更多内容 >>