Effacer les filtres
Effacer les filtres

I cannot use graph and digraph functions in matlab 2013b, how to fix it?

7 vues (au cours des 30 derniers jours)
Miguel Wang
Miguel Wang le 13 Sep 2016
Modifié(e) : michio le 14 Sep 2016
I try to use graph and digraph to create a graph in my matlab2013b. When I run the following code, the error shows that "Undefined function 'graph' for input arguments of type 'double'." Would you please tell me what i can do?

Réponses (1)

michio
michio le 13 Sep 2016
Modifié(e) : michio le 13 Sep 2016
digraph and graph functions were introduced at R2015b. So a solution is to upgrade your MATLAB version to R2015b or later.
  2 commentaires
Miguel Wang
Miguel Wang le 14 Sep 2016
Thanks a lot! Is there any other solutions? I cannot upgrade my matlab for this moment.
michio
michio le 14 Sep 2016
Modifié(e) : michio le 14 Sep 2016
Searching in File Exchange is always a valid alternative :) I found some seemingly related functions there. Hope you can find the one you like!
https://jp.mathworks.com/matlabcentral/fileexchange/?utf8=%E2%9C%93&term=graph

Connectez-vous pour commenter.

Catégories

En savoir plus sur Graph and Network Algorithms dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by