How can I create layered colored boxes in a Simulink Block Diagram?

I would like to annotate my model by highlighting parts with different colored boxes.

ANSWER

Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.

Colored boxes can be created in a Simulink model by placing an empty subsystem underneath an area.

Here is the answer on the layering subsystems issue. It is somewhat tricky. We order subsystems in alphabetical (ASCII) order, first by capital and then by lower-case. So the top subsystem starts with ‘A’ and the lowest one starts with ‘z’, and so on.

Here's a good method for making the layers: 1) Start with the top layer: 2) Make a new subsystem. 3) Title it 'z'. 4) Set the background color with right click -> Background Color 5) Hide the name with right-click -> Format -> Hide Name 6) Open the subsystem, delete the ports. 7) Right-click -> Mask Subsystem 8) In the mask drawing commands write "disp('')" - this will hide the simulink symbol. 9) Repeat for the next layer, calling it 'zz' and so on... You can see the attached model as an example.

SEE COMPLETE ANSWER CLICK THE LINK

--

--

--

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Undiscovered — TryHackMe — WriteUp

Devops Week News — Issue #109

Hqdefault

Building a Virtual Machine

Running K3S on Arm

Life lessons learned through my software engineering journey

Introducing Goldilocks: A Tool for Recommending Resource Requests

How to Mount S3 Bucket on Local Disk

What are the differences between Python 2 and Python 3?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Technical Source

Technical Source

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.

More from Medium

How does Root-MUSIC algorithm for DOA estimation for a ULA work for a recorded audio file ?

Applying Machine Learning to Predict the Market Cap Of Some Layer 1s Based On Total Value Locked…

Simple Explanation to Machine Learning Ensemble concept