Sorted out [] problem with vector ports -- new octave function
split_port