Check if a connection exists between two views
tf = hasConnection(vSet,viewId1,viewId2)
tf— Validity of view connection
Validity of view connection, returned as a logical
Create an empty
vSet = viewSet;
Add a pair of views.
vSet = addView(vSet,1); vSet = addView(vSet,2);
Add a connection.
vSet = addConnection(vSet,1,2);
Confirm that the connection exists.
tf = hasConnection(vSet,1,2);