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

4 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

Arthur Goldsipe
Arthur Goldsipe il 26 Lug 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 Commenti
tash7827
tash7827 il 27 Lug 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 il 27 Lug 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.

Accedi per commentare.

Più risposte (0)

Community

Più risposte nel  SimBiology Community

Categorie

Scopri di più su Extend Modeling Environment in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by