MATLAB Answers

How to make a graph with nodes and edges

5 views (last 30 days)
Hello!
I am trying to use the function graph but I get the error.
Undefined function or variable 'graph'.
I am trying to make some graph like this one
screen-capture.png

  1 Comment

KSSV
KSSV on 22 Apr 2019
To use this you need to have graph tool box....

Sign in to comment.

Accepted Answer

Sean de Wolski
Sean de Wolski on 22 Apr 2019
What version of MATLAB are you using? graph() was introduced in R2015b

  1 Comment

Nora Khaled
Nora Khaled on 22 Apr 2019
Yes, it seems this is the problem.
I tryed it on an another machine and it works.
Do you know how to make the graphs look like in the picture.
(white circuls with a bigger radiuse)

Sign in to comment.

More Answers (0)

Sign in to answer this question.