
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 >>
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 >>
Yesterday I explained to a colleague the effect of the Inport block option Latch input for feedback signals of function-call subsystem outputs . I thought it would be interesting to share... read more >>
Did you ever receive a "data dependency violation" error message from a Simulink model? I will try to explain why this happens and what you need to do to avoid this error by introducing my... read more >>
If you are going to work with C or C++ S-Functions, you will probably need to do some debugging. My advice is: Don't go with the printf debugging approach. I did that for too long and now I... read more >>
Often, it is worth putting a bit of extra effort at the beginning of a project to save time later. Today I want to introduce a feature that gets more useful with every release of Simulink, but... read more >>
Today I want to highlight R2012b features very useful when debugging a model. Using the simulation stepping and conditional breakpoints, you should be able to run your simulation up to a certain... read more >>