Help CenterHelp Center
Add target computer to target computers object
Since R2022b
addTarget(tgs,targetName,ipAddress,userName,password)
addTarget(tgs,targetName,ipAddress,userName,password) adds the specified target to the object.
tgs
targetName
ipAddress
userName
password
example
collapse all
Create a target object and add a target with name LinuxTarget1 containing user name user1, password myPassword, and IP address.
LinuxTarget1
user1
myPassword
tgs = linux.Targets(); tg = tgs.addTarget("LinuxTarget1", "178.10.10.1", "user1", "myPassword");
Target object created by the linux.Targets class.
linux.Targets
Example: tgs, target_object
target_object
Specify a name for the target.
Example: "LinuxTarget1"
Specify the IP address of the target.
Example: "178.10.10.1"
Specify the user name for the target.
Example: "user1"
Specify the password for the user on the target.
Example: "myPassword"
Introduced in R2022b
linux.Targets | Linux Runtime Manager | removeTarget
Linux Runtime Manager
removeTarget
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office