Importing SBML with MCR

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

Respuestas (1)

Arthur Goldsipe
Arthur Goldsipe el 7 de Abr. de 2014

0 votos

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 comentario

Paul Robertson
Paul Robertson el 8 de Abr. de 2014
Thank you so much, your response has been very helpful.

Iniciar sesión para comentar.

Comunidades de usuarios

Más respuestas en  SimBiology Community

Categorías

Etiquetas

Preguntada:

el 7 de Abr. de 2014

Comentada:

el 8 de Abr. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by