Index: mttroot/mtt/bin/trans/m/ibg2abg.m ================================================================== --- mttroot/mtt/bin/trans/m/ibg2abg.m +++ mttroot/mtt/bin/trans/m/ibg2abg.m @@ -337,15 +337,19 @@ ## check compatible sizes head.n_subs = size(struct_elements(head_bond))(1) - 2; tail.n_subs = size(struct_elements(tail_bond))(1) - 2; if (head.n_subs != tail.n_subs) - mtt_error(sprintf("Vector ports %s and %s are not compatible", - head_bond.label, tail_bond.label), errorfile); + mtt_error(sprintf("Vector ports '%s' (%s:%s) and '%s' (%s:%s) are not compatible", + head_bond.label, head.type, head_name, + tail_bond.label, tail.type, tail_name), + errorfile); elseif (head.n_subs > 1) - mtt_info(sprintf("Vector port %s matches %s", - head_bond.label, tail_bond.label), infofile); + mtt_info(sprintf("Vector port '%s'(%s:%s) matches '%s' (%s:%s)", + head_bond.label, head.type, head_name, + tail_bond.label, tail.type, tail_type), + infofile); endif ## write type at other end eval(sprintf("%s.other_end_type = '%s';", head_str, tail.type));