Handle unconnected input Using Mask
Version 1.0.0 (28 KB) by
Muthukumar Ganesan
To detect and handle an unconnected input for a library block
Objective is to resolve a query in matlab community portal.
How to find out whether a stateflow input variable receives an explicit value = 0 or is unconnected? How to treat optional inputs?
It can be implemented by creating a mask and some additional workarounds
Cite As
Muthukumar Ganesan (2026). Handle unconnected input Using Mask (https://nl.mathworks.com/matlabcentral/fileexchange/119588-handle-unconnected-input-using-mask), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2022b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |