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

4 vues (au cours des 30 derniers jours)
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?

Réponse acceptée

Arthur Goldsipe
Arthur Goldsipe le 26 Juil 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 commentaires
tash7827
tash7827 le 27 Juil 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 le 27 Juil 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Communautés

Plus de réponses dans  SimBiology Community

Catégories

En savoir plus sur Extend Modeling Environment dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by