
I have seen many users run into trouble when resolving an algebraic loop, so this week I want to explain why you should never break a continuous algebraic loop with a Memory block. The... read more >>

I have seen many users run into trouble when resolving an algebraic loop, so this week I want to explain why you should never break a continuous algebraic loop with a Memory block. The... read more >>

Today I will share a technique I often use when debugging Simulink models, and more especially Simscape models. Algebraic Constraint Violated Did you ever run into the following... read more >>

I am so happy right now! Since R2012b, it has been possible to comment out blocks in Simulink. As soon as this feature was released, it immediately became popular among all the users I... read more >>

This week I want to share a useful trick to save debugging time: Using the Simulink Debugger in Accelerator Mode.... read more >>

A few days ago I was showing a user how to debug an executable generated by Simulink Coder and I realized that the new Toolchain approach in R2013b makes this process a lot easier.... read more >>

Ahhh... C Mex S-function... If you ever tried creating a C Mex S-function and were a little rusty on your C programming, you might have experienced strange behavior or event MATLAB crashes. This... read more >>

During the life of a model, you will very likely need to change many configuration parameters to complete different tasks. For example, when debugging you want to enable many run time diagnostics to... read more >>

On this blog, I sometimes highlight features that it took me a while to appreciate and include in my daily workflow. I hate to admit it, but quite often those are features that I was aware of for... read more >>

Do you use the Simulation Data Inspector? Here is an example where it saved me a lot of debugging time. Simulation Accuracy I recently had to validate system behavior and analyze numerical... read more >>

When using Simulink variable-step solvers, zero-crossing detection is very useful to capture events accurately. However for some equations, configuring zero-crossing detection can be... read more >>