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

2 次查看(过去 30 天)
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?

采纳的回答

Arthur Goldsipe
Arthur Goldsipe 2016-7-26
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 个评论
tash7827
tash7827 2016-7-27
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 2016-7-27
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.

请先登录,再进行评论。

更多回答(0 个)

社区

更多回答在  SimBiology Community

类别

Help CenterFile Exchange 中查找有关 Extend Modeling Environment 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by