connected = isConnected(graph)
returns a logical flag indicating whether the specified factorGraph
object graph, contains nodes that all have at least one
connection.
connected — Graph is connected in factor graph false or 0 | true or 1
Graph is connected in factor graph, returned as 1
(true) if the factorGraph has a single connected
component and 0 or false if it does not have a
single connected component.
Extended Capabilities
C/C++ Code Generation Generate C and C++ code using MATLAB® Coder™.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.