Main Content

Check if model uses custom code

Check ID:mathworks.PLC.CustomCodeCheck

Check that the model does not use custom code.


This check displays a warning when the model contains blocks that use custom code.

Available with Simulink® PLC Coder™.

Results and Recommended Actions

ConditionRecommended Action
Issues found by Simulink PLC Coder.Remove the use of custom code from the Simulation Target pane of the model configuration settings.

Capabilities and Limitations

Exclusion of blocks and charts is not supported.