フィルターのクリア

Simbiology, parameter scan, Attempt to reference field of non-structure array error

2 ビュー (過去 30 日間)
Michael
Michael 2016 年 2 月 10 日
コメント済み: Michael 2016 年 2 月 13 日
Hi everyone, I want to scan over a set of parameters. Currently however, I always get the error: "Attempt to reference field of non-structure array" after the simulation is run exactly once. I tried whether it was a problem with that specific parameter - it isn't. Also turning off parts of the simulation doesn't help.
I don't know how to approach this problem since this has worked before and I didn't fundamentally change my model.
Any ideas? Any help would be greatly appreciated.
Thanks, Michael
Edit: As requested: Windows 10 x64 Home Matlab 2015a Simbiology 5.2
@Arthur Goldspie: I only have that particular project I am working on at the moment that has this problem. Here is a link to download it, feel free to check it out. click
Thank you!
  1 件のコメント
Arthur Goldsipe
Arthur Goldsipe 2016 年 2 月 11 日
This is difficult to answer without additional information. Can you attach a project that reproduces the problem? Can you also tell us what version of SimBiology you're using and what platform? (Windows?)

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

採用された回答

Vijay
Vijay 2016 年 2 月 11 日
Hi Michael,
The error happens because there is a clash between the parameter named "count" in your model and an internal variable named count. You can work around this by renaming the parameter to something other than "count" e.g: counter.
We are planning on fixing this in a future release.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeScan Parameter Ranges についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by