Manage user preferences
plccoderpref
plccoderpref('plctargetide')
plccoderpref('plctargetide', preference_value
)
plccoderpref('plctargetide',
'default')
plccoderpref('plctargetidepaths')
plccoderpref('plctargetidepaths','default')
plccoderpref('plctargetlist')
plccoderpref('plctargetlist',targetlist
)
plccoderpref
displays the current set of user preferences, including the default target IDE.
plccoderpref('
returns the current default target IDE. This default can be the target IDE set previously, or the factory default. The factory default is plctargetide
')'codesys23'
.
plccoderpref('
sets the default target IDE to the one that you specify in plctargetide
', preference_value
)preference_value
. This command sets the preference_value
to persist as the default target IDE for future MATLAB® sessions.
plccoderpref('
sets the default target IDE to the factory default target IDE (plctargetide
',
'default')'codesys23'
).
plccoderpref('
returns a 1-by-1 structure of the installation paths of supported target IDEs.plctargetidepaths
')
plccoderpref('
sets the contents of the 1-by-1 structure of the installation paths to the default values.plctargetidepaths
','default')
plccoderpref('
displays the target IDEs that appear in the reduced Target IDE list in the Simulink® Configuration Parameters dialog box. For more information, see Target IDE and Show Full Target List.plctargetlist
')
plccoderpref('
sets the target IDEs that appear in the reduced Target IDE list to the values that you specify in plctargetlist
',targetlist
)targetlist
.
| String directive that specifies the default target IDE.
Default: | ||||||||||||||||||||||||||||||||||||||||||
| String that specifies the target IDE installation path. Contains a 1-by-1 structure of the installation paths of supported target IDEs. codesys23: 'C:\Program Files\3S Software' codesys33: 'C:\Program Files\3S CoDeSys' codesys35: 'C:\Program Files\3S CoDeSys' studio5000: 'C:\Program Files\Rockwell Software' studio5000_routine: 'C:\Program Files\Rockwell Software' rslogix5000: 'C:\Program Files\Rockwell Software' rslogix5000_routine: 'C:\Program Files\Rockwell Software' brautomation30: 'C:\Program Files\BrAutomation' brautomation40: 'C:\Program Files\BrAutomation' multiprog50: 'C:\Program Files\KW-Software\MULTIPROG 5.0' pcworx60: 'C:\Program Files\Phoenix Contact\Software Suite 150' step7: 'C:\Program Files\Siemens' tiaportal: 'C:\Program Files\Siemens\Automation' tiaportal_double: 'C:\Program Files\Siemens\Automation' plcopen: '' twincat211: 'C:\TwinCAT' twincat3: 'C:\TwinCAT' generic: '' indraworks: '' omron: '' | ||||||||||||||||||||||||||||||||||||||||||
| String that sets your preferences to the factory default. | ||||||||||||||||||||||||||||||||||||||||||
| Cell array of strings. Each string specifies a target IDE. You can specify any target IDE that is available for the Use the string |
Use the Simulink Configuration Parameters dialog box to change the installation path of a target IDE (Target IDE Path).