I have a directed graph with various nodes, each node has 3 values, Number of station, arrival time and departure time. Now I want to get the value of these nodes and save it in a matrix.
for example, node1 has values(45, 67, 78) and node2 has values(56,23,28) so I want to save the values as this [45 67 78; 56 23 28]
Is there a way to do this? I tried findnode and findobj functions but none of them served the exact purpose. I am stuck on this since a long time and not able to find a solution. any help or guidance will be highly appreciated.
Thanking in advance.