A simple problem in creating graph

when i try to create a graph (with the code below), there is a error ('' Undefined function 'G' for input arguments of type 'char'.'') , how can i solve it. İ just try the example of the matlab2013a, and I still have the same error.
G := Graph::createCompleteGraph(3):
Graph::printGraphInformation(G)

回答(1 个)

the cyclist
the cyclist 2013-11-3
Do you have the Symbolic Math Toolbox? The graph theory commands won't work without it.

1 个评论

yes, I have the Symbolic Math Toolbox.

此问题已关闭。

提问:

2013-11-3

关闭:

2021-8-20

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by