Guy on Simulink

Simulink & Model-Based Design

Results for: 2008

Challenge: Metronome Synchronization 2

My good friend Doug, formerly of Pick of the Week fame, sent me an e-mail last week with the subject “Model this.”  The message contained nothing more than a link to a video.  Doug started a new video blog, and for this reason, I have decided to incorporate some video into this post.... read more >>

Follow the Bouncing Ball 3

In my last post about the Continuous Time Integrator, I talked about the bouncing ball model sldemo_bounce. Amin commented:... read more >>

Continuous Time Integrator 10

One of the ways I think of Simulink is as a graphical interface to the solvers.  Moreover, when I think of the solvers, I usually think of the continuous time solvers and the integrator block.  In this post, I will show you some of the capabilities of the continuous time integrator that you might... read more >>

Organizing Mask Callbacks 15

My recent posts have focused on the different elements required to build a library block.  There is the conceptual design of the block, the dynamic dialog, and the mask initialization code.  In each of these posts, I have attempted to focus on just the core of those concepts without complicating things... read more >>

Mask Initialization and Self-Modifying Blocks 19

In previous posts, I introduced advanced masking concepts and discussed how to build a masked library block with a dynamic mask dialog.   In this post, I will show how the example Saturation block adds/deletes ports and rewires itself depending on its configuration.... read more >>

Dynamic Mask Dialogs 24

When configuring a Simulink block, you usually use a graphical user interface (GUI).  In this post I’m going to investigate the basics of programming a dynamic GUI using the mask editor. The Saturation block features In <a href="">my last post, I introduced the example of a Saturation block that can use fixed limits set in the mask... read more >>

Advanced Masking Concepts 19

Masking does more than just put a professional interface on
your algorithm.  Simulink blocksets provide elaborate graphical user interfaces
(GUIs) to control the behavior of blocks.  The block dialog can dynamically
enable and disable its GUI elements.  Blocks can sprout additional ports in
order to accept parameters as input signals.  The algorithm can rewire... read more >>

How To Make Your Own Simulink Block 50

Today I want to introduce a fundamental Simulink concept: masking a block.  Masking provides you with a way to put an interface on an algorithm.  This can centralize the system parameters for easier viewing, or hide the complexity from unintentional tampering by other users.  Masking can also be used to dress up your model... read more >>

Libraries in Simulink 26

Have you ever noticed the same block constructs occurring repeatedly in your model?  Simulink libraries provide you with a way to capture the template for an algorithm, and then reuse that template all over your model.  For this post, I will to introduce the basic concepts of libraries, library blocks, and library links.... read more >>