Questions in Simbilogy Please help me

조회 수: 2 (최근 30일)
zahmeeth sakkaff
zahmeeth sakkaff 2015년 4월 1일
답변: Arthur Goldsipe 2015년 4월 2일
I have couple of questions. I would be grateful if some can help me on those questions.
(1)Is it possible to have the simbiology model as .m file. I can see we can create SBML. But not as .m file. If possible please tell me how can I do that?
(2)I need to run the simbiology model using .m file without using the simbiology desktop. I need to extract the simbilogy results data to matlab workspace without using the simbiology desktop. How can I do that?
(3)Can we pause the simbilogy model between time step. If it is possible how can I do that?

채택된 답변

Arthur Goldsipe
Arthur Goldsipe 2015년 4월 2일
(1) I'm not sure what you need to do, but you can save a model to an .sbproj file via the desktop or the command line and then load it inside an .m file as follows:
project = sbioloadproject('filename.sbproj');
model = project.m1;
(2) After you follow the above steps, you can simulate the model in the .m file:
[time, species] = sbiosimulate(model);
(3) There's no easy way to pause the simulation between time steps, but you can do something similar by causing the simulation to end after a specified number of time steps. Here's how to stop after 20 time steps:
configset = model.getconfigset;
configset.MaximumNumberOfLogs = 20;
[time, species] = sbiosimulate(model);

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Scan Parameter Ranges에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

제품

Community Treasure Hunt

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

Start Hunting!

Translated by