Traffic-toolbox Function AddNodes - Add nodes to a net list
Calling Sequence
- AddDemands(nx,ny)
Parameters
- %net
: The global Netlist variable databasis
- nx
: row vector, x coordinates of the added nodes
- ny
: row vector, y coordinates of the added nodes
- net2
: the resulting net list
Description
AddNodes adds nodes to a net list.
EXAMPLES
%net=TrafficExample('Diamond');
ShowNet()
// Add 2 new nodes with coordinates x=[346,346] and y=[559,-50]
AddNodes([346,346],[559,-50]);
// We can see the modifications with
ShowNet()
See Also