WhattsStrogatz algorithm from this site gives an error on graph command

Here, the WhattsStrogatz algorithm from this site gives an error on graph command. What goes wrong?

3 个评论

Is there a good reason why you cannot tell us what error you got? Show the COMPLETE error message.
Undefined function or variable 'graph'.
Error in WattsStrogatz (line 26) h = graph(s,t);
I think I know the reason for this error, I do not have r2016b, I have 2015a only

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Programming 的更多信息

产品

提问:

Jan
2016-9-26

Community Treasure Hunt

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

Start Hunting!

Translated by