Overview
| Comment: | Removed [] from zero_state output |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | origin/master | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
cf3be9ef33db4177264db561b3a3f675 |
| User & Date: | gawthrop@users.sourceforge.net on 2000-11-09 09:52:07.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
2000-11-09
| ||
| 10:12:24 | Removed debugging line check-in: fa261b716c user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 09:52:07 | Removed [] from zero_state output check-in: cf3be9ef33 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
|
2000-11-08
| ||
| 11:20:49 | removed the empty matrix stuff check-in: 0350cc7584 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/switch_txt2m
from [64a1d69398]
to [58c9a37f6a].
| ︙ | ︙ | |||
12 13 14 15 16 17 18 19 20 21 22 23 24 25 | ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.10 2000/10/17 09:04:12 peterg ## *** empty log message *** ## ## Revision 1.9 1999/08/02 12:44:21 peterg ## zero_vector --> zero_state. ## ## Revision 1.8 1999/04/20 00:55:40 peterg | > > > > | 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.11 2000/10/17 09:55:55 peterg ## Now writes to standard output ## Write the name, not the array ## ## Revision 1.10 2000/10/17 09:04:12 peterg ## *** empty log message *** ## ## Revision 1.9 1999/08/02 12:44:21 peterg ## zero_vector --> zero_state. ## ## Revision 1.8 1999/04/20 00:55:40 peterg |
| ︙ | ︙ | |||
81 82 83 84 85 86 87 |
#EOF
#cat $1_logic.txt >> $1_switchopen.m
# Set states to zero
awk '{
if ($1=="#"){
printf("#== open - boolean vector of open switches ==#\n")
| | | 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
#EOF
#cat $1_logic.txt >> $1_switchopen.m
# Set states to zero
awk '{
if ($1=="#"){
printf("#== open - boolean vector of open switches ==#\n")
printf("open = zero_state(%i); # Default to not open\n", Nx);
}
else{
printf("\n#== Switch: %s ==#\n",$1)
printf("if (%s_logic==0.0) \n", $1);
printf(" open(%s) = 1;\n", $2);
printf("end;\n");
|
| ︙ | ︙ |