Modified to use named (as opposed to numbered) ports.
Generates a list of component ports in the .rbg file.
As octave handles string vectors properly, the .cmp file format is not
really necessary - but I've let it be for the moment.