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