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 日

0 投票

Do you have the Symbolic Math Toolbox? The graph theory commands won't work without it.

1 件のコメント

Saman
Saman 2013 年 11 月 19 日
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