Worklist Item Code 537: Initialize Non Constant Global

Worklist Item Type

This Worklist Item is a MATLAB/Simulink Limitation

Cause

This can occur if Modelify attempts to create a MATLAB expression in the initialization file (M-script or Data Dictionary) with the value of a global variable that is not constant. This is not possible because the global variable value is routed through models as a signal and not as a MATLAB expression.

Recommend Solution

This can be resolved by refactoring the code to not use the global variable in this location or to make the global variable constant.

Additional Resources

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