Guy on Simulink

Simulink & Model-Based Design

Posts 1 - 10 of 34

搜索结果: Debugging

How to correct errors in port width or dimension in Simulink? 2

Let's continue our tour of the most viewed Simulink-related MATLAB Answers. This week, we look at:How to correct error in port width or dimension in simulink ?While this error mentions dimensions,... 更多内容 >>

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

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... 更多内容 >>

Debugging C/C++ code in Simulink 7

As you probably know, it is possible to integrate C/C++ code in Simulink simulations. This can be done in many ways, including:C/C++ S-FunctionS-Function BuilderLegacy Code ToolC CallerC... 更多内容 >>

Leveraging The Simulink Diagnostics Viewer 2

I am sure most Simulink users will agree that viewing and analyzing warnings and errors is an important part of working with Simulink models. When simulating models interactively using the play... 更多内容 >>

Visualizing Fixed-Point Algebraic Loops

A few days ago I had to debug a very large model generating an error similar to the following:

In my case, the loop involved more than a hundred blocks and signals spread everywhere in the model and... 更多内容 >>

Another Good Reason to Log Simulation Data in Dataset Format 1

Today I am happy to welcome guest blogger Mariano Lizarraga Fernandez. A few days ago, Mariano came to me looking for help understanding a Simulink behavior that a user was not able to explain. Once... 更多内容 >>

The variables you need 5

Today I want to share two lines of code I find very useful. The problem I often need to exchange models with users. One of the thing people struggle the most while doing that is providing the... 更多内容 >>

Why you should never break a continuous algebraic loop with a Memory block 23

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... 更多内容 >>

Identifying the root cause of an algebraic constraint violation 2

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... 更多内容 >>

Commenting out… in Stateflow! 1

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... 更多内容 >>

Posts 1 - 10 of 34