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.

 Akzeptierte Antwort

Stephen23
Stephen23 am 17 Nov. 2017

0 Stimmen

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

1 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Networks finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by