xPC Target    
setxpcenv

Change xPC Target environment properties

Syntax

MATLAB Command Line

Arguments

property_name
Not case sensitive. Property names can be shortened as long as they can be differentiated from the other property names.
property_value
Character string. Type setxpcenv without arguments to get a listing of allowed values. Property values are not case sensitive.

Description

Function for environment properties. Enter new environment properties. If the new value is different from the current value, the property is marked as having a new value. Use the function updatexpcenv to change the current properties to the new properties.

The function setxpcenv works similarly to the function set of the MATLAB Handle Graphics system. The function setxpcenv must be called with an even number of arguments. The first argument of a pair is the property name, and the second argument is the new property value for this property.

Using the function setxpcenv without arguments returns a list of allowed property values in the MATLAB window.

Examples

List the current environment properties. For a description of properties and allowed values, see Environment Properties.

Change the host PC, serial communication port, to COM2.

See Also

The xPC Target functions getxpcenv, updatexpcenv, xpcbootdisk, and xpcsetup. The procedures Changing Environment Properties with a Graphical Interface and Changing Environment Properties with a Command-Line Interface.


  getxpcpci updatexpcenv