Handle unconnected input Using Mask

To detect and handle an unconnected input for a library block


Updated Wed, 26 Oct 2022 14:01:41 +0000

View License

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 (2023). Handle unconnected input Using Mask (https://www.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 Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes