主要内容

Check for blocks and block settings overview

R2026b

These checks verify whether blocks in your model are supported for PLC code generation and whether the supported blocks have PLC coder-compatible settings. You can verify whether:

  • The models use Event-Based blocks, Probe blocks, or Environment Controller blocks.

  • The model Stateflow® chart has a Continuous chart update rate.

  • The model has Discrete Integrator blocks that have settings not supported for PLC code generation.

  • The model contains blocks that are not supported for PLC code generation.

  • The top-level subsystem has inputs and outputs when testbench generation is enabled.

  • The subsystem block parameter function packaging is not set to Nonreusable function.

  • The model does not contain Trigonometric Function blocks that have settings not supported for PLC code generation.