Worklist Item Code 555: Function Call and Short Circuiting

Worklist Item Type

This Worklist Item is a Modelify Limitation

Cause

This occurs in Stateflow conversion when Modelify detects a function call with side effects (write to other variables) in a condition that due to short circuiting might not get evaluated in C. This is not yet properly handled in Stateflow conversion since the function will always be called in the generated Stateflow Chart.

Recommend Solution

If you consider that for a specific case the side effect doesn't affect simulation results, you can disregard the message. Otherwise, possible solutions include choosing a different conversion type or modifying the source code so split the condition in multiple if statements.

Additional Resources

For further support, contact EnSoft Support at support@ensoftcorp.com