How do I load the Simbiology project onto Matlab so I can edit the code?

4 visualizaciones (últimos 30 días)
What is wrong with this?
sbioloadproject('ins+glucagon.sbproj')
Thanks so much! Sorry this is such a newbie question, but I'm really confused.
Also, is there any other standard opening code for when we open Simbiology projects in Matlab?

Respuesta aceptada

Arthur Goldsipe
Arthur Goldsipe el 26 de Jul. de 2016
The command you typed loaded the project into the MATLAB workspace. The model is usually stored in a variable called m1. You can edit the model using this variable.
However, if you are new to SimBiology, I recommend opening the project in the SimBiology desktop. You can open a project in the desktop from the command line like this: simbiology('ins+glucagon.sbproj')
You can also open projects directly within the SimBiology Desktop's graphical interface by clicking on the open button in the toolstrip. And you can open the SimBiology desktop either via the simbiology command or by clicking on the SimBiology App icon in the Apps on the MATLAB Toolstrip.
  2 comentarios
tash7827
tash7827 el 27 de Jul. de 2016
Hi, I already edited the model on the Simbiology desktop, but now I would like to write some code on Matlab so I can get graphs and things. But everytime I try, I get this:
>> insglucagon
Error using sbioloadproject (line 66)
Unable to read file 'insglucagonfinal.sbproj': No such file or folder.
Error in insglucagon (line 1)
sbioloadproject('insglucagonfinal', 'm1') %load it
So what should I do?
Arthur Goldsipe
Arthur Goldsipe el 27 de Jul. de 2016
This is the correct syntax for loading a SimBiology project from the command line. It sounds like the sbproj file is not in your current directory.

Iniciar sesión para comentar.

Más respuestas (0)

Comunidades de usuarios

Más respuestas en  SimBiology Community

Categorías

Más información sobre Extend Modeling Environment en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by