Hi ,
I have a plot that contain a graph and I want to highlight a path between two nodes so I used the following:
plot(G);v = shortestpath(G,'n','s');highlight(G,v,'EdgeColor','r');
But I keep getting this error :
Undefined function 'highlight' for input arguments of type 'digraph'.Error in PGM (line 26)highlight(G,v,'EdgeColor','r');
Any solution for that ? thanks
Best Answer