Importing SBML with MCR

3 views (last 30 days)
Paul Robertson
Paul Robertson on 7 Apr 2014
Commented: Paul Robertson on 8 Apr 2014
Hi,
I was hoping for some information on the latest release of Matlab (R2014) with relation to prominent project we have. The project uses a Java-based UI and displays data calculated by Matlab and SimBiology. This is done by creating a Matlab session and sending commands/running scripts. We are hoping to use this with the Matlab Compiler Runtime (MCR) however with our current version of Matlab (2011) we can't import SBML models while using the MCR. I now have an opportunity to upgrade the version of Matlab we are using and am looking for information on any improvement made to either Matlab, Simbiology or MCR that might effect/improve the project.
Ideally is it possible to load and simulate a Simbiology model using the MCR? Any information would be greatly appreciated.
Thank you, Paul

Answers (1)

Arthur Goldsipe
Arthur Goldsipe on 7 Apr 2014
Hi Paul,
With restrictions, SimBiology is supported with the MATLAB Compiler as of R2012b. However, one of those restrictions is that SBML files cannot be imported within the MCR. Only "export" models are supported within compiled applications. The most obvious workaround for you would be to identify all the SBML files you wish to use in your application before compiling it, import those SBML files into MATLAB and then export them into Compiler-compatible "export" models. Note that a deployed application can reference as many of these models as you like, but you must decide on those models at the time you compile the deployed applications.
You can find an example of creating a deployed SimBiology application here.
Best of luck,
Arthur
  1 Comment
Paul Robertson
Paul Robertson on 8 Apr 2014
Thank you so much, your response has been very helpful.

Sign in to comment.

Communities

More Answers in the  SimBiology Community

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!