Worklist Item Code 552: Call to unsupported C library function

Worklist Item Type

This Worklist Item is a Modelify Limitation

Cause

This occurs when Modelify finds a call to a C library function that cannot be converted to Simulink/Stateflow. In most cases functions will correspond to C features that cannot be modeled in Simulink/Stateflow. For example, some C features that cannot be modeled in Simulink include multi-threading, scheduling and timing, interprocess communication and standard or file IO.

Recommend Solution

The solution will depend on the C feature that is being considered. For example, for scheduling or timing one workaround will be to create a top level model that handles the timing. For IO, an option could be to choose S-Function conversion or extract IO code from the functions and convert that data to be input/output parameters to the model. To allow model generation to continue without the need for a concrete handling of the feature, enable the "Create stub block diagrams for undefined functions" option. This option will cause Modelify to automatically create a stub model for the C library function. A stub only contains the necessary blocks to represent the function interface. If you have questions about conversion of a specific C feature, please contact EnSoft Support at the email address below.

Additional Resources

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