Message Boards Message Boards


[✓] Turn on dynamic state selection?

Posted 9 months ago
2 Replies
1 Total Likes

In my build log I keep getting this error:

Notification: Forcing static selection of states. If this leads to problems during simulation turn on dynamic state selection.

Is this a setting in SystemModeler, or do I just need to set stateSelect correctly?

While I'm posting, the more critical error that I'm getting is

Internal error: DeriveMC.differentiateExpTime: error for expression CALL <myFunction>

I added stateSelect = StateSelect.avoid to a couple variables and that helped some, but when "myFunction" becomes less linear the build fails.

Thanks, Eric

2 Replies


That is a setting in preferences:

enter image description here

Thanks Neil, I skipped right over the section heading when looking for the option. I’ll give it a try.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract