Differences From Artifact [7bd05447ed]:
- Executable file mttroot/mtt/bin/trans/m/rbg2abg.m — part of check-in [c7b42b1371] at 2002-08-27 16:09:01 on branch origin/master — Added port_name to error message when multiple bonds are near a port. (user: geraint@users.sourceforge.net, size: 22489) [annotate] [blame] [check-ins using] [more...]
To Artifact [8cc9c0a13a]:
- Executable file
mttroot/mtt/bin/trans/m/rbg2abg.m
— part of check-in
[2e018ebcd2]
at
2004-02-19 18:27:47
on branch origin/master
— [ 852694 ] octave 2.1.52 breaks rbg2abg
Octave now prefers row vectors to column vectors. (user: geraint@users.sourceforge.net, size: 22631) [annotate] [blame] [check-ins using] [more...]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | + + + | function [bonds,components,n_vector_bonds] = rbg2abg(name,rbonds,rstrokes,rcomponents,\ port_coord,port_name,\ infofile,errorfile) ## ############################################################### ## ## Version control history ## ############################################################### ## ## $Id$ ## ## $Log$ ## ## Revision 1.47 2002/08/27 16:09:01 geraint ## ## Added port_name to error message when multiple bonds are near a port. ## ## ## ## Revision 1.46 2000/09/11 08:22:02 peterg ## ## Checks for absent port list in subsystem abg file. ## ## ## ## Revision 1.45 1999/10/19 02:13:31 peterg ## ## Now assigns correct bonds to the new junction port names ## ## ## ## Revision 1.44 1999/10/19 00:05:44 peterg |
︙ | |||
228 229 230 231 232 233 234 | 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 | - + | error(sprintf ... ("A port is near to more than one bond at coordinates %g,%g %s\n", ... port_coord(i,1)/scale, port_coord(i,2)/scale, deblank(port_name(i,:)))); endif ##The (signed) bond corresponding to the ith port label |
︙ | |||
444 445 446 447 448 449 450 | 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 | - + | bonds = causality; ## Find number of bonds on each component BEFORE vectorisation for i=1:n_components |
︙ |