Check if connection between two views is in view set
Check For Connection Between Views in View Set
Create an empty image view set.
vSet = imageviewset;
Add two views to the image view set.
vSet = addView(vSet,1); vSet = addView(vSet,2);
Add a connection to the image view set.
vSet = addConnection(vSet,1,2);
Check if the connection between views is in the view set.
tf = hasConnection(vSet,1,2)
tf = logical 1
viewId1 — View identifier 1
View identifier 1, specified as an integer. View identifiers are unique to a specific view.
viewId2 — View identifier 2
View identifier 2, specified as an integer. View identifiers are unique to a specific view.
tf — True or false result
True or false result indicating if view is in view set
returned as a
0 data type
C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.
Introduced in R2020a