Skip to content

Commit

Permalink
Version 7.1.0
Browse files Browse the repository at this point in the history
Release of Version 7.1.0
  • Loading branch information
msevestre authored May 30, 2017
2 parents 9e83255 + d16ca3a commit e3fd6f5
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<packages>
<package id="OSPSuite.FuncParser" version="2.0.0.1"/>
<package id="OSPSuite.SimModelSolver_CVODES282" version="2.0.0.1" />
<package id="OSPSuite.SimModel" version="2.0.0.1"/>
<package id="OSPSuite.SimModelComp" version="2.0.0.1"/>
<package id="OSPSuite.SimModel" version="2.0.0.12"/>
<package id="OSPSuite.SimModelComp" version="2.0.0.12"/>
</packages>
18 changes: 18 additions & 0 deletions src/code/auxiliaries/cell2bound.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
function [bounds, numintervals] = cell2bound(C)
% CELL2BOUND Support function: Transformation of a discretization-Cell-Array into a vector.
%
% [bounds, numintervals] = cell2bound(C)
% - C (cellarray): discretization bounds
% - bounds : vector of the length (sum(numintervals)+numVar) with the discretization bounds
% of the input variables incl. min und max value
% - numintervals : vector of the length numVar with the number of the intervals of the variables

% Open Systems Pharmacology Suite; [email protected]
% Date: 2000-01-19

nvars = length(C);
bounds = cat(2,C{:});
numintervals = zeros(1,nvars);
for i=1:nvars
numintervals(i) = length(C{i})-1;
end
4 changes: 2 additions & 2 deletions src/code/getObserverFormula.m
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
%
%
% Example Calls:
% [formula,rowIndex]=getObserverFormula('SpecModel/Organism/Lung/Cell/C/AmountObs_2',1);;
% [ID,rowIndex]=getObserverFormula('SpecModel/Organism/Lung/Cell/C/AmountObs_2',1,'property','ID');
% [formula,rowIndex]=getObserverFormula('SpecModel|Organism|Lung|Cell|C|AmountObs_2',1);;
% [ID,rowIndex]=getObserverFormula('SpecModel|Organism|Lung|Cell|C|AmountObs_2',1,'property','ID');
%
% see also INITSIMULATION

Expand Down
4 changes: 2 additions & 2 deletions src/code/getSimulationResult.m
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
%
%
% Example Calls:
% [sim_time,sim_values,rowIndex]=getSimulationResult('TopContainer/Educt',1);
% [sim_time,sim_values,rowIndex]=getSimulationResult('TopContainer/Educt',1,'rowIndex',rowIndex);
% [sim_time,sim_values,rowIndex]=getSimulationResult('TopContainer|Educt',1);
% [sim_time,sim_values,rowIndex]=getSimulationResult('TopContainer|Educt',1,'rowIndex',rowIndex);
%
% see also INITSIMULATION

Expand Down

0 comments on commit e3fd6f5

Please sign in to comment.