Effacer les filtres
Effacer les filtres

I am trying to plot a graph of a matrix and the following error showed up

2 vues (au cours des 30 derniers jours)
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);

Réponse acceptée

Walter Roberson
Walter Roberson le 12 Juil 2018
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

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center 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