This script automatically assign the port number for the inport. which is in the top layer.
need to open the model first and then run this script. it'll be useful for code generation and ordering the port.
Aravindan Samarasam (2021). Subsystem Port Numbering (https://www.mathworks.com/matlabcentral/fileexchange/34557-subsystem-port-numbering), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!