Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian.froehlich committed Nov 5, 2015
2 parents 99f62cf + f24ae0c commit b0799b5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions @amimodel/parseModel.m
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
sx = cell(nx,np);
sdx = cell(nx,np);
xBs = cell(nx,1);
dxBs = cell(nx,1);

for j=1:nx
xs{j} = sprintf('x[%i]',j-1);
Expand All @@ -132,6 +133,7 @@

for j = 1:nx
xBs{j} = sprintf('xB[%i]', j-1);
dxBs{j} = sprintf('dxB[%i]', j-1);
end

% transform into syms
Expand All @@ -143,6 +145,7 @@
this.strsym.sx = sym(sx);
this.strsym.sdx = sym(sdx);
this.strsym.xBs = sym(xBs);
this.strsym.dxBs = sym(dxBs);

% replace states by short strings

Expand Down

0 comments on commit b0799b5

Please sign in to comment.