Guy on Simulink

Simulink & Model-Based Design

Results for: Masking

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

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