Activating/Deactivating Auto-Inlining

  1. Open the project that contains your state machine.

    This may also be the default project.

  2. In the project editor, open the Project Properties window and go to the Statemachine node.
  3. To deactivate auto-inlining, Closedproceed as follows.

    • In the Statemachine node, deactivate the Auto-inline private methods (Smaller code size – may be changed locally) option to deactivate auto-inlining for all state machines in the project.

      In that case, the settings of individual state machines are irrelevant.

  4. To activate auto-inlining, Closedproceed as follows.

    1. Activate the Auto-inline private methods (Smaller code size – may be changed locally) option to activate auto-inlining for all state machines in the project.

    2. Close the Project Properties window.

      Note

      The global setting in the project properties alone is not sufficient to activate auto-inlining.

    3. In the Edit menu, select Implementation to open the implementation editor of each state machine in the project for which you want to activate auto-inlining.

    4. In the Settings tab, activate the Auto-inline private methods (Smaller code size) option.

    5. Close the implementation editor.

      Note

      Auto-Inlining takes place only if both options are activated.

      You can use this option to exclude individual state machines from auto-inlining.

See also

Project Properties Window

State Machine Node