Guy on Simulink

Simulink & Model-Based Design

How to draw ODEs in Simulink 26

Posted by Seth Popinchalk,

I remember while learning Simulink, drawing ordinary differential equations was one of the early challenges. Eventually I discovered a few steps that make it easier. First, rewrite the equations as a system of first order derivatives. Second, add integrators to your model, and label their inputs and outputs. Third, connect... read more >>

R2007b+ Now Available: Simulink Bug Fixes 2

Posted by Seth Popinchalk,

Have you ever been in this situation: You run into a software bug, and you verify that the bug has been fixed in the latest version, but you can't install the latest version to get the bug fix. Why not? Because your team has a coordinated upgrade policy. ... read more >>

Bus Signals in the Generated Code 6

Posted by Seth Popinchalk,

Blog reader Paul J. shared with us his mental model of the bus as a structure. While this isn’t true of virtual buses, it is precisely true of nonvirtual buses. In fact, when you generate the code for a nonvirtual bus using Real-Time Workshop, the result is a structure.... read more >>

Nonvirtual Bus Signals 8

Posted by Seth Popinchalk,

Most Simulink users have a good idea of what a bus signal is but I have found people are not as clear about what distinguishes virtual and nonvirtual buses. We have discussed bus signals in recent posts, and we are now ready to answer blog reader Han Geerligs request for “more explanation on... read more >>

How do you think about virtual buses? 4

Posted by Seth Popinchalk,

Today I present for your reading pleasure a continuation of our discussion on mux and bus signals. Last week we looked at the advanced uses of Mux Blocks. This week I want to discuss the mental model of virtual bus signals.... read more >>

Advanced Maneuvers using Mux and Demux 13

Posted by Seth Popinchalk,

Last week I started a discussion of mux and bus signals. Our mental model of the mux signal is a vector. The Mux and Demux Blocks can do more than just combine and break apart the elements of a vector. This week I want to go a level... read more >>

These postings are the author's and don't necessarily represent the opinions of MathWorks.