Simbiology initial condition failed
1 次查看(过去 30 天)
显示 更早的评论
In fit data mode I get the Simbiology error message "Simulating a group with an initial condition failed". Any idea what´s typically causing this? Runs fine in Simulation mode.
0 个评论
回答(1 个)
Arthur Goldsipe
2016-10-7
I think this is likely an overly aggressive error check, and I removed it from SimBiology in R2016b. So one fix would be to upgrade to R2016b.
If you can't upgrade, let's see if there's another way to work around the problem... The error message occurs because the simulation results include NaN values. NaN stands for "not a number", and it represents "poorly defined" mathematical results like 0/0. I originally expected these NaN values to indicate a problem with the model, but that's not always the case. However, maybe you can figure out where the NaN values are coming from and find a way to change the model to eliminate them.
If you're still stuck and can share the project, please post another MATLAB Answers question or even contact me directly.
Good luck!
-Arthur
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Extend Modeling Environment 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!