Main Content


Check if node is fixed

Since R2022a


isFixed = isNodeFixed(graph,nodeID) returns a logical flag indicating whether the node with the specified nodeID in the factor graph, graph is fixed or not fixed during optimization.

Input Arguments

collapse all

Factor graph, specified as a factorGraph object.

Node ID of an existing node, specified as a nonnegative integer.

Output Arguments

collapse all

Fix status of the node, returned as a logical 1 (true) or 0 (false). The function returns true when the node is fixed, and returns false when the node is free.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

Version History

Introduced in R2022a

See Also