Guy on Simulink

Simulink & Model-Based Design

Mask Initialization and Self-Modifying Blocks 17

Posted by Seth Popinchalk,

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

Posted by Seth Popinchalk,

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="https://blogs.mathworks.com/seth/2008/08/05/advanced-masking-concepts/">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

Posted by Seth Popinchalk,

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

Posted by Seth Popinchalk,

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

Posted by Seth Popinchalk,

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 >>

Community Favorite Accelerators 5

Posted by Seth Popinchalk,

In a recent post, I kicked off the discussion of Simulink workflow accelerators. The comments for that post were a great look at ways people work with Simulink. The discussion reminded me of some tricks I had forgotten about, and I learned some new ones. Do you know what you... read more >>

What’s in your model? 6

Posted by Seth Popinchalk,

This morning I was telling my colleague Rob about the blog post I was writing on sample time colors. We talked about models that demonstrated the concept, and he dove into his computer to find an example he had made a couple years ago. I liked the model, so I asked... read more >>

Announcing SimElectronics! 7

Posted by Seth Popinchalk,

In early April, our physical modeling team released a new add-on for Simulink, SimElectronics.
SimElectronics extends Simscapeby adding tools for modeling electronics and electromechanical systems…. read more >>

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