This file is indexed.

/usr/share/doc/sbmltoolbox/html/simulation.html is in sbmltoolbox 4.1.0-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
<style type='text/css'>
/*/*/ /*<![CDATA[*/
@import "style.css";
/*]]>*/ /* */ 
</style>

<h3>SIMULATION</h3>

<p>The functions allow users to simulate SBML Models.</p>

<p>Function are:</p>

<hr>

<h4>[analysis] = AnalyseSpecies(SBMLModel)</h4>

<p>Takes</p>

<ol>
<li>SBMLModel, an SBML Model structure</li>
</ol>

<p>Returns</p>

<ol>
<li>a structure detailing the species and how they are manipulated 
          within the model</li>
</ol>

<p><em>EXAMPLE:</em></p>

<pre><code>     Using the model from toolbox/Test/test-data/algebraicRules.xml

        analysis = AnalyseSpecies(m)

        analysis = 

        1x5 struct array with fields:
            Name
            constant
            boundaryCondition
            initialValue
            hasAmountOnly
            isConcentration
            compartment
            ChangedByReaction
            KineticLaw
            ChangedByRateRule
            RateRule
            ChangedByAssignmentRule
            AssignmentRule
            InAlgebraicRule
            AlgebraicRule
            ConvertedToAssignRule
            ConvertedRule

        analysis(1) = 


                               Name: {'S1'}
                           constant: 0
                  boundaryCondition: 0
                       initialValue: 0.0300
                      hasAmountOnly: 0
                    isConcentration: 0
                        compartment: 'compartment'
                  ChangedByReaction: 1
                         KineticLaw: {' - (k*S1)'}
                  ChangedByRateRule: 0
                           RateRule: ''
            ChangedByAssignmentRule: 0
                     AssignmentRule: ''
                    InAlgebraicRule: 1
                      AlgebraicRule: {{1x1 cell}}
              ConvertedToAssignRule: 0
                      ConvertedRule: ''
</code></pre>

<hr>

<h4>[analysis] = AnalyseVaryingParameters(SBMLModel)</h4>

<p>Takes</p>

<ol>
<li>SBMLModel, an SBML Model structure</li>
</ol>

<p>Returns</p>

<ol>
<li>a structure detailing any parameters that are not constant and how they are manipulated 
          within the model</li>
</ol>

<p><em>EXAMPLE:</em></p>

<pre><code>     Using the model from toolbox/Test/test-data/algebraicRules.xml

       analysis = AnalyseVaryingParameters(m)

       analysis = 
                   Name: {'s2'}
           initialValue: 4
      ChangedByRateRule: 0
               RateRule: ''
ChangedByAssignmentRule: 0
         AssignmentRule: ''
        InAlgebraicRule: 1
          AlgebraicRule: {{1x1 cell}}
  ConvertedToAssignRule: 1
          ConvertedRule: '-(-S2-S3)'
</code></pre>

<hr>

<h4>elements = DealWithPiecewise(formula)</h4>

<p>Takes </p>

<ol>
<li>formula, a string representation of a math expression that contains the MathML piecewise function </li>
</ol>

<p>Returns </p>

<ol>
<li>an array of the three components of the piecewise function</li>
</ol>

<p><em>EXAMPLE:</em></p>

<pre><code>      elements = DealWithPiecewise('piecewise(le(s2,4),1.5,0.05)')

               =  'le(s2,4)'  '1.5'   '0.05'
</code></pre>

<p><em>NOTE:</em> The function cannot deal with a piecewise statement with more
than three elements.</p>

<hr>

<h4>elements = GetArgumentsFromLambdaFunction(formula)</h4>

<p>Takes</p>

<ol>
<li>formula, a string representation of a math expression that contains the MathML lambda function </li>
</ol>

<p>Returns </p>

<ol>
<li>an array of the components of the lambda function</li>
</ol>

<p><em>EXAMPLE:</em></p>

<pre><code>      elements = GetArgumentsFromLambdaFunction('lambda(x, x+0.5)')

               =  'x'  'x+0.5'   

      elements = GetArgumentsFromLambdaFunction('lambda(x, y, x + y)')

               =  'x'  'y'    'x+y'
</code></pre>

<hr>

<h4>OutputODEFunction</h4>

<p><em>NOTE:</em> This function is deprecated. Use SolveODEFunction instead. </p>

<hr>

<h4>SolveODEFunction(varargin)</h4>

<p>Takes </p>

<ol>
<li>a MATLAB_SBML model structure (required argument)</li>
<li>time limit (default = 10)</li>
<li>number of time steps (default lets the solver decide)</li>
<li>a flag to indicate whether to output species values in amount/concentration
      1 amount, 0 concentration (default)</li>
<li>a flag to indicate whether to output the simulation data as 
      a comma separated variable (csv) file 
      1 output 0 no output (default)</li>
<li>a filename (this is needed if WriteODEFunction was used with a
           filename)</li>
</ol>

<p>Returns</p>

<ol>
<li>an array of time values</li>
<li>an array of the values of variables at each time point; species will
be in concentration or amount as specified by input arguments</li>
</ol>

<p>Outputs </p>

<ol>
<li>a file 'name.csv' with the data results (if the flag to output such a
file is set to 1.</li>
</ol>

<p><em>NOTE:</em> the results are generated using ode45 solver (MATLAB) or lsode
(Octave)</p>

<hr>

<h4>WriteEventAssignmentFunction(SBMLModel, name)</h4>

<p>Takes </p>

<ol>
<li>SBMLModel, an SBML Model structure</li>
<li>name, a string representing the name of the ode function being used</li>
</ol>

<p>Outputs </p>

<ol>
<li>a file 'name_eventAssign.m' defining a function that assigns values following an event 
    (for use with the event option of MATLABs ode solvers)</li>
</ol>

<p><em>NOTE:</em> This function is called from WriteODEFunction when a model with
 events is encountered.</p>

<hr>

<h4>WriteEventHandlerFunction(SBMLModel, name)</h4>

<p>Takes </p>

<ol>
<li>SBMLModel, an SBML Model structure</li>
<li>name, a string representing the name of the ode function being used</li>
</ol>

<p>Outputs </p>

<ol>
<li>a file 'name_events.m' defining a function that tests whether events
have been triggered
    (for use with the event option of MATLABs ode solvers)</li>
</ol>

<p><em>NOTE:</em> This function is called from WriteODEFunction when a model with
 events is encountered.</p>

<hr>

<h4>WriteODEFunction(SBMLModel, name(optional))</h4>

<p>Takes </p>

<ol>
<li>SBMLModel, an SBML Model structure</li>
<li>name, an optional string representing the name of the ode function to be used</li>
</ol>

<p>Outputs </p>

<ol>
<li>a file 'name.m' defining a function that defines the ode equations of
the model for use with the ode solvers
(if no name supplied the model id will be used)</li>
</ol>

<hr>