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.

 Réponse acceptée

Stephen23
Stephen23 le 17 Nov 2017

0 votes

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

1 commentaire

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Networks dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by