Guy on Simulink

Simulink & Model-Based Design

Posts 11 - 20 of 34

結果: Debugging

Accelerating the Simulink Debugger 2

This week I want to share a useful trick to save debugging time: Using the Simulink Debugger in Accelerator Mode.... 続きを読む >>

Debugging Simulink Coder Executable Easily in R2013b

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.... 続きを読む >>

Problems with your S-Functions… Try this Diagnostic! 1

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... 続きを読む >>

Quickly Switching Model Configuration Sets 6

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... 続きを読む >>

Defining custom shortcuts in Simulink 3

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... 続きを読む >>

Comparing Runs using Simulation Data Inspector 13

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... 続きを読む >>

Zero-Crossing Detection… what are your options? 8

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... 続きを読む >>

To Latch or not to Latch?

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... 続きを読む >>

Data Dependency Violation Errors and Subsystem Semantics 3

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... 続きを読む >>

Debugging C/C++ S-Functions 12

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... 続きを読む >>

Posts 11 - 20 of 34