フィルターのクリア

Control simbiology model from MATLAB command line

1 回表示 (過去 30 日間)
Rory Conolly
Rory Conolly 2018 年 3 月 4 日
コメント済み: Star Strider 2018 年 3 月 5 日
I have an existing simbiology model that I want to control from the MATLAB command line. The documentation that I can find talks about creating new simbiology models from the MATLAB command line, but not about controlling an existing model. Help will be appreciated!

採用された回答

Rory Conolly
Rory Conolly 2018 年 3 月 5 日
Excellent! Thanks. This is what I was looking for.
  1 件のコメント
Star Strider
Star Strider 2018 年 3 月 5 日
If Arthur Goldsipe solved your problem, it is appropriate that you Accept his Answer.

サインインしてコメントする。

その他の回答 (2 件)

Arthur Goldsipe
Arthur Goldsipe 2018 年 3 月 4 日
I'm not sure what you mean by "control", but let me try to offer some guidance. You can simulate a model from the command line using the function sbiosimulate. And here is a list of command-line functions. Also, all of these examples show things you can do with models from the command line. Finally, you can learn the command-line equivalent of most desktop functionality either by using the MATLAB Code Capture Tool or by viewing task code (via the Task Code button in the toolstrip).

Rory Conolly
Rory Conolly 2018 年 3 月 5 日
I have a very simple Simbiology model - first-order decay in a single compartment. The model name is H2O2_in_medium_only.sbproj It runs fine from the Simbiology desktop. However, if at the MATLAB command line I issue
>> mobj = sbiomodel('H2O2_medium_only')
SimBiology Model - H2O2_medium_only
Model Components:
Compartments: 0
Events: 0
Parameters: 0
Reactions: 0
Rules: 0
Species: 0
I think new, empty model is being created and linked to mobj. How do I link to the actual Simbiology model?
  1 件のコメント
Arthur Goldsipe
Arthur Goldsipe 2018 年 3 月 5 日
If you have a model open in the desktop and would also like to use it from the command line, you can right-click on the model name and export it to your MATLAB workspace.

サインインしてコメントする。

コミュニティ

その他の回答  SimBiology コミュニティ

カテゴリ

Help Center および File ExchangeExtend Modeling Environment についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by