1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
function structure = AE_eqn(name,bond_number,bonds,direction,cr,args, ...
structure,eqnfile);
% AE_eqn. Equation generation for effort amplifier.
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% Version control history
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% $Id$
% %% $Log$
% %% Revision 1.3 1996/08/30 19:03:10 peter
% %% Added argument check.
% %% Added extra name argument.
% %%
% %% Revision 1.2 1996/08/30 13:23:11 peter
% %% Added bond number check
% %%
|
>
>
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
function structure = AE_eqn(name,bond_number,bonds,direction,cr,args, ...
structure,eqnfile);
% AE_eqn. Equation generation for effort amplifier.
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% Version control history
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% $Id$
% %% $Log$
% %% Revision 1.4 1996/09/10 10:10:41 peter
% %% Now uses eqaution.m to format the equation.
% %%
% %% Revision 1.3 1996/08/30 19:03:10 peter
% %% Added argument check.
% %% Added extra name argument.
% %%
% %% Revision 1.2 1996/08/30 13:23:11 peter
% %% Added bond number check
% %%
|
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
outbond = bond_number(1);
inbond = bond_number(2);
outport = 1;
inport = 2;
end
eqn = equation(name,cr,args,outbond,outcause,outport, ...
inbond,incause,inport);
fprintf(eqnfile, '%s',eqn);
|
|
|
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
outbond = bond_number(1);
inbond = bond_number(2);
outport = 1;
inport = 2;
end
eqn = equation("AE",name,cr,args,outbond,outcause,outport, ...
inbond,incause,inport);
fprintf(eqnfile, '%s',eqn);
|