Worklist Item Code 551: Stub Created for C library function

Worklist Item Type

This Worklist Item is a Modelify Limitation

Cause

This worklist item is generated when Modelify creates a stub model for a C library function that Modelify does not know how to model in Simulink/Stateflow. A stub only contains the necessary blocks to represent the function interface. This allows model generation to continue without the need for proper handling of a C feature. In most cases these functions will correspond to C features that cannot be modeled in Simulink/Stateflow. For example, some C features that cannot be easily 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 make read/written data to be input/output parameters to the model. 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