(To be removed) Check if connection exists between two views
viewSet object and its
hasConnection function will be removed in a future release. Use
imageviewset object and its
hasConnection function instead. For more information, see Compatibility Considerations.
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);
tf— Validity of view connection
Validity of view connection, returned as a logical
viewSetobject will be removed
Not recommended starting in R2020a