I have downloaded Image Graphs matlab code but i am not able to run it. I am getting errors like this..
Undefined function or variable 'graph'.
Error in binaryImageGraph3 (line 111) g = graph(edge_table,node_table);
Error in binaryImageGraph (line 91) [g,nodenums] = binaryImageGraph3(bw,conn);
Error in imageGraph (line 74) g = binaryImageGraph(true(sz),conn);
Error in DemoSurfacePlots (line 16) g = imageGraph([480 640],8);
Please help me to run this code.

 Respuesta aceptada

Stephen23
Stephen23 el 17 de Nov. de 2017

0 votos

As its help clearly states graph was introduced in R2015b.
Solution to your problem: install R2015b or later version of MATLAB.

1 comentario

prateek nahar
prateek nahar el 18 de Nov. de 2017
Ok i am working on R2015a. That is why i am getting this error. Thank u very much.

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Preguntada:

el 17 de Nov. de 2017

Comentada:

el 18 de Nov. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by