Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » sbml-interoperability » installation of libSBML 2.3.4/SBML Toolbox2.0.2
Show: Today's Posts  :: Message Navigator
| Subscribe to topic 
Return to the default flat view Create a new topic Submit Reply
AuthorTopic
fbergman


Posts: 122
Registered:
February 2010
Re: installation of libSBML 2.3.4/SBML Toolbox2.0.2 28 Jan '11 09:13 Go to previous messageGo to previous message

Hello Celine

>
> So far, so good, right?
>

Congratulations ... at this point you completed installing the Matlab
bindings (or translate SBML) ... if you were to start Matlab in this folder
you could run TranslateSBML('test.xml') and you would get the translated
structure. So this is great for part 1). You might want to make sure the
generated .mexa64 file is in the Matlab path from now on!.

>
> ===Now, for the SBMLToolbox
>
> $ PATH="/usr/local/MATLAB/R2010b/bin:$PATH"
> $ echo $PATH
> > /usr/local/MATLAB/R2010b/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:
> > /usr/bin:/sbin:/bin:/usr/games
>
> $ which mex
> > /usr/local/MATLAB/R2010b/bin/mex
>
>
> $ cd /home/celine/Downloads/SBMLToolbox-3.0.0/toolbox
> $ export CFLAGS=-I/usr/local/include
> $ export LDLAGS=-L/usr/local/lib
>
> ===First try:
>
> $ make
> > mex -I/usr/local/include -I/usr/local/include -L/usr/local/lib
OutputSBML.c
> -lsbml
> >
> > Warning: You are using gcc version "4.4.4-14ubuntu5)". The version
> > currently supported with MEX is "4.3.4".
> > For a list of currently supported compilers see:
> > http://www.mathworks.com/support/compilers/current_release/
>
>
> (nothing happens? no warnings, no errors, nothing. only the above)
>

Stop! ... at this point ... if you closely look at the directory you will
find that you have a shiny new 'OutputSBML.mexa64' in the directory. And
again you are done :) If you add this directory to your Matlab path
(together with the one from above), you can now run:

model = TranslateSBML('test.xml')
OutputSBML(model)

And you would find a dialog popping up asking you for the filename where to
safe the file too.

Sorry if this is not as intuitive as it could be ... in the next release we
will be providing scripts with better output. Please let me know if you
continue to have trouble

Best
Frank



____________________________________________________________
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   installation of libSBML 2.3.4/SBML Toolbox2.0.2 celine25 Jan '11 14:10
Read Message   Re: installation of libSBML 2.3.4/SBML Toolbox2.0.... Sarah Keating26 Jan '11 05:53
Read Message   Re: installation of libSBML 2.3.4/SBML Toolbox2.0.... celine26 Jan '11 13:12
Read Message   Re: installation of libSBML 2.3.4/SBML Toolbox2.0.... Torbjoern Klatt26 Jan '11 14:10
Read Message   Re: installation of libSBML 2.3.4/SBML Toolbox2.0.... celine27 Jan '11 16:16
Read Message   Re: installation of libSBML 2.3.4/SBML Toolbox2.0.... Torbjoern Klatt28 Jan '11 01:10
Read Message   Re: installation of libSBML 2.3.4/SBML Toolbox2.0.... fbergman26 Jan '11 14:32
Read Message   Re: installation of libSBML 2.3.4/SBML Toolbox2.0.... celine27 Jan '11 15:23
Read Message   Re: installation of libSBML 2.3.4/SBML Toolbox2.0.... fbergman27 Jan '11 15:44
Read Message   Re: installation of libSBML 2.3.4/SBML Toolbox2.0.... celine27 Jan '11 16:35
Read Message   Re: installation of libSBML 2.3.4/SBML Toolbox2.0.... celine28 Jan '11 08:42
Read Message   Re: installation of libSBML 2.3.4/SBML Toolbox2.0....  fbergman28 Jan '11 09:13
Read Message   Re: installation of libSBML 2.3.4/SBML Toolbox2.0.... celine31 Jan '11 17:15
Previous Topic:libSBML Installation Failed Message
Next Topic:Problem to bind libsbml with matlab
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.