Main Content

Target IDE Path

Provide full path to target IDE installation directory

Model Configuration Pane: PLC Code Generation


Specify the target IDE installation path. The path already specified is the default installation path for the target IDE. Change this path if your IDE is installed in a different location. This option is available on the PLC Code Generation pane in the Configuration Parameters dialog box.



Default: C:\Program Files\CODESYS

C:\Program Files\CODESYS

Default installation path for CODESYS software Version 2.3.

C:\Program Files\CODESYS

Default installation path for CODESYS software Version 3.5.

C:\Program Files\BrAutomation

Default installation path for B&R Automation Studio® 3.0 and 4.0 software.


Default installation path for Beckhoff® TwinCAT® 2.11 and 3 software.

C:\Program Files\KW-Software\MULTIPROG 5.0

Default installation path for PHOENIX CONTACT (previously KW) Software MULTIPROG® 5.0 software. For MULTIPROG 5.50, the installation path may be different, change accordingly.

C:\Program Files\Phoenix Contact\Software Suite 150

Default installation path for Phoenix Contact® PC WORX™ 6.0 software.

C:\Program Files\Rockwell Software

Default installation path for Rockwell Automation® RSLogix™ 5000 software.

C:\Program Files\Siemens

Default installation path for Siemens® SIMATIC® STEP® 7 5.4 software.

C:\Program Files\Siemens\Automation

Default installation path for Siemens TIA Portal software.


  • When you change the Target IDE value, the value of this parameter changes.

  • If you right-click the Subsystem block, the PLC Code > Generate and Import Code for Subsystem command uses this value to import generated code.

  • If your target IDE installation is standard, do not edit this parameter. Leave it as the default value.

  • If your target IDE installation is nonstandard, edit this value to specify the actual installation path.

  • If you change the path and click Apply, the changed path remains for that target IDE for other models and between MATLAB® sessions. To reinstate the factory default, use the command:


Recommended Settings

DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Programmatic Use

Parameter: PLC_TargetIDEPath
Type: string
Value: string
Default: 'plcsrc'

Version History

Introduced in R2010b