Matlab is not recognizing the graph(...) function.

2 ビュー (過去 30 日間)
amhen
amhen 2022 年 4 月 1 日
編集済み: Les Beckham 2022 年 4 月 1 日
Hi,
Matlab is not recognizing the graph(...) function. Currently I have R2015a. I'm unable to understand the reason.
I tried the same example given online.
s = [1 1 1 2 2 3 3 4 5 5 6 7];
t = [2 4 8 3 7 4 6 5 6 8 7 8];
weights = [10 10 1 10 1 10 1 1 12 12 12 12];
names = {'A' 'B' 'C' 'D' 'E' 'F' 'G' 'H'};

採用された回答

Les Beckham
Les Beckham 2022 年 4 月 1 日
編集済み: Les Beckham 2022 年 4 月 1 日
The graph function was added in release 2015b. See doc page here (the info on when it was introduced is at the bottom): https://www.mathworks.com/help/matlab/ref/graph.html
You will need to upgrade if you wish to use it.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDirected Graphs についてさらに検索

製品


リリース

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by