iam trying to create directed and undirected graph,i used this code: s = [1 2 1 3]; t = [2 3 3 4]; w = [10 20 30 5]; G=graph(s,t,w); but i face this problem when compile code: Undefined function or method 'graph' for input arguments of type 'double'. Thanks

댓글 수: 1

alaa mahmoud
alaa mahmoud 2017년 1월 29일
Thank you Steven Lord,I try to download the version you told abut,and the error disappear . Again Thanks For your help.

댓글을 달려면 로그인하십시오.

 채택된 답변

Steven Lord
Steven Lord 2017년 1월 27일

1 개 추천

The graph object was introduced in release R2015b, as shown by the note at the end of that documentation page. If you're using an earlier release, you will not be able to use this object.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Networks에 대해 자세히 알아보기

질문:

2017년 1월 27일

댓글:

2017년 1월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by