Add nodes.
node=add(node,id,cs,color,coord)
node=node.add(id,cs)
node=node.add(id,cs,color)
node=node.add(newnode)
ADD will add a node or nodes to the IMAT_NODE object.
ID is a vector containing the node IDs. They must be unique.
CS is an Nx3 matrix containing the coordinate system IDs. If not supplied, or it is empty, the default ([0 0 0]) will be used.
COLOR is a numeric vector containing the node colors. If not supplied, or it is empty, the default color of 11 is used.
COORD is an Nx3 matrix containing the node coordinates. If not supplied, or it is empty, the global origin will be used.
An alternate calling sequence is to supply an IMAT_NODE object NEWNODE to add.