Overview
| Comment: | Added bond number check |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | origin/master | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
b41a257865b4acfa5f77a0c608445263 |
| User & Date: | gawthrop@users.sourceforge.net on 1996-08-30 13:23:11.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
1996-08-30
| ||
| 13:29:05 | Error check on bond numbers. check-in: a494ed7ce7 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 13:23:11 | Added bond number check check-in: b41a257865 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 12:55:40 | More heirachical stuff added. check-in: 2096815ce6 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/lib/comp/simple/AE_eqn.m
from [fc1630ab06]
to [8c6d83e911].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
function structure = AE_eqn(bond_number,bonds,direction,cr,args, ...
structure,eqnfile);
% AE_eqn. Equation generation for effort amplifier.
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% Version control history
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% $Id$
% %% $Log$
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
if nargin<6
eqnfile = 'stdout';
end;
% There are 2 ports; extract the information
e_1 = bonds(1,1);
f_1 = bonds(1,2);
e_2 = bonds(2,1);
f_2 = bonds(2,2);
| > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
function structure = AE_eqn(bond_number,bonds,direction,cr,args, ...
structure,eqnfile);
% AE_eqn. Equation generation for effort amplifier.
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% Version control history
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% $Id$
% %% $Log$
% %% Revision 1.1 1996/08/22 13:12:34 peter
% %% Initial revision
% %%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
if nargin<6
eqnfile = 'stdout';
end;
% Check that there are exactly two bonds.
if check_bonds(bonds,2,'AE')==0
return
end
% There are 2 ports; extract the information
e_1 = bonds(1,1);
f_1 = bonds(1,2);
e_2 = bonds(2,1);
f_2 = bonds(2,2);
|
| ︙ | ︙ |