MATLAB Answers

error when using "graph"

18 views (last 30 days)
amine kilani
amine kilani on 23 Feb 2016
Commented: ouday aldandal on 12 Aug 2016
hello everyone
when i tried to use the graph function i had this error
Undefined function or variable 'graph'.
i'm using matlab 2015

  5 Comments

Show 2 older comments
Stephen Cobeldick
Stephen Cobeldick on 23 Feb 2016
The documentation says at the bottom "Introduced in R2015b".
amine kilani
amine kilani on 23 Feb 2016
that's why i'm downloading 2015b to try it. what i'm trynig to learn is how to use graphs to work on social networks
ouday aldandal
ouday aldandal on 12 Aug 2016
hello kindly can you tell me what you did for using graph method??? Thanks

Sign in to comment.

Answers (2)

Ingrid
Ingrid on 23 Feb 2016
what are you trying to do? Graph is not a function in matlab, it is a functionality that can only be used in the MuPAD notebook interface
you might want to look into the functions figure and plot
doc figure
doc plot

  0 Comments

Sign in to comment.


amine kilani
amine kilani on 23 Feb 2016
Actually it's my first step to use matlab, and i'm trying to be familiar with graph i want to try this http://www.mathworks.com/help/matlab/ref/graph.html?s_tid=srchtitle and i found that's not possible using 2015a. i'm downloading 2015b to work with graphs
sorry for my english

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!