This script aligns all the inports and outports regardless of the blocktype connected to a subsytem. The code was created using MATLAB 2023b version