[Matlab] Remove broken rxnEqs function
"ReactionEqn" is the working alternative. See Issue 118.
This commit is contained in:
parent
a2d26cd80a
commit
3a308a041f
1 changed files with 0 additions and 25 deletions
|
|
@ -1,25 +0,0 @@
|
|||
function e = rxnEqs(a, irxn)
|
||||
% rxnEqs
|
||||
%
|
||||
if nargin == 1
|
||||
m = nReactions(a);
|
||||
n = 1;
|
||||
irxn = (1:m)';
|
||||
elseif nargin == 2
|
||||
if isa(irxn,'double')
|
||||
[m, n] = size(irxn);
|
||||
else
|
||||
error('reaction number(s) must be numeric');
|
||||
end
|
||||
end
|
||||
|
||||
if m == 1 && n == 1
|
||||
e = rxnstring(a.id, irxn);
|
||||
else
|
||||
e = cell(m,n);
|
||||
for i = 1:m
|
||||
for j = 1:n
|
||||
e{i,j} = rxnstring(a.id, irxn(i,j));
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Reference in a new issue