simbiology question- how to overlay observed data with simulation

조회 수: 4 (최근 30일)
Hello Matlab Community,
I have a question on how to overlay observed data with the model simulation that I've created. Any help on what part of the interface to do this, where in the instruction manual, or that code would be greatly appreciated.
Thanks in advance for the help

채택된 답변

Priya Moorthy
Priya Moorthy 2018년 11월 2일
편집: Priya Moorthy 2018년 11월 2일
Brett,
In the current version of the SimBiology Desktop, experimental and simulation data cannot be viewed together in the plots generated after a running a simulation, but they can be viewed together in the Live Plots. Assuming you have already created a model and simulation task, and have also imported your experimental data into the SimBiology desktop:
1) With your simulation task open, click on the "Live Plots" button in the "Editor" tab of the toolstrip.
2) Switch to the "Explorer" toolstrip tab and click on "Edit Properties" to bring up a window for configuring your live plot.
3) At the top of the "Data to Plot" tab of the "Properties" pop-up window, there is a drop down menu that allows you to choose between State, External and Math data. Choose "Plot External Data" and click "Add". A new row for your experimental data will appear in the table of plotted variables.
4) Select this row and configure the X column name, Y column name, etc.
5) You can repeat this for any number of states, external data columns or also arbitrary math lines.
A more general explanation can be found in the documentation here: https://www.mathworks.com/help/simbio/ug/running-tasks.html#bvczdcu
Best,
Priya
  댓글 수: 1
Brett Fleisher
Brett Fleisher 2018년 11월 3일
Great, thank you for the explanation. This was what I was looking for.
Best, Brett

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

커뮤니티

더 많은 답변 보기:  SimBiology Community

카테고리

Help CenterFile Exchange에서 Import Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by