MATLAB Answers

Simbiology simulation and fit tasks give different outputs

2 views (last 30 days)
I used fit data task and then tried to simulate the estimated parameters with simulate data task. The outputs are different. I played with different simulation setting options and found out that OutputTimes option changes my output (significantly). I also created a separate ode function file and simulate the same model; output of this file matched fit data task's output. Long story short, I cannot duplicate the results from fit data task with simulate data task in Simbiology. Any suggestion would be appreciated.


Sign in to comment.

Accepted Answer

Ingrid Tigges
Ingrid Tigges on 8 Oct 2013
Are you sure that you are using the same simulation settings, initial values etc. in both situations? It might be worth contacting technical support in order to get help. Please include your SimBiology model as well as the output of VER when creating the service request.

  1 Comment

Meric Ovacik
Meric Ovacik on 11 Oct 2013
Decreasing Absolute tolerance (1e-15) in simulation settings solved my problem.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!