Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » sbml-interoperability » How to "OutputSBML" Matlab ODE model encoded in .m file
Show: Today's Posts  :: Message Navigator
| Subscribe to topic 
Return to the default flat view Create a new topic Submit Reply
AuthorTopic
Sarah Keating


Posts: 413
Registered:
May 2004
Re: How to " OutputSBML" Matlab ODE model encoded in .m file 03 May '12 01:02 Go to previous message

Hi Oliver

So a matlab ode file will have the following function definition

function xdot = some_func(time, x_values)

where xdot and x_values are arrays

followed by code that tells you what the values of xdot are when the
function is called with no arguments and when it is called with arguments.

Yes it is possible to determine how many variables you have and what the
rate of change of each of those variables is. Although given this is a
text file and can have other things in as well (such as other function
definitions used in this file) it is not completely guaranteed. There is
no definitive structure to the m file and since you would be parsing
text it would be error prone.

You *could* turn that into an SBML file that involved parameters and
rateRules; but there would be no biological association at all.

A user could interact with the process and say which variables were
species and it would then be possible (maybe) to determine reactions and
corresponding kineticLaws; but that is getting more tricky.

Sarah
____________________________________________________________
To manage your sbml-interoperability list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/sbml-interoperability

For a web interface to the sbml-interoperability mailing list, visit
http://sbml.org/Forums/

For questions or feedback about the sbml-interoperability list,
contact sbml-team@caltech.edu

      

SubjectPosterDate
Read Message   How to "OutputSBML" Matlab ODE model enc... ls23301 May '12 15:48
Read Message   Re: How to " OutputSBML" Matlab ... Sarah Keating02 May '12 01:28
Read Message   Re: How to " OutputSBML" Matlab ... curoli02 May '12 03:32
Read Message   Re: How to " OutputSBML" Matlab ...  Sarah Keating03 May '12 01:02
Previous Topic:Trouble with linux install of SBML toolbox and libsbml
Next Topic:Best practice for installing libSBML and SBMLtoolbox on a 64bit Windows computer
Go to forum:
-=] Back to Top [=-

Powered by FUDforum. (Copyright Advanced Internet Designs Inc.)

Please use our issue tracking system for any questions or suggestions about this website.