I am trying to plot a graph of a matrix and the following error showed up
1 次查看(过去 30 天)
显示 更早的评论
Error using rng
Too many input arguments.
Error in matlab.internal.graph.MLGraph/forceLayout>layoutOneConnComp (line 82)
oldstate = rng(0,'twister');
Error in matlab.internal.graph.MLGraph/forceLayout (line 55)
[x,y] = layoutOneConnComp(x,y,sources,targets,iterations);
0 个评论
采纳的回答
Walter Roberson
2018-7-12
You have some non-standard rng.m on your path. Check with
which -all rng
You should see only something like toolbox/matlab/randfun/rng.m
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!