MATLAB 帮助中心
将目标计算机添加到目标计算机对象
自 R2022b 起
addTarget(tgs,targetName,ipAddress,userName,password)
addTarget(tgs,targetName,ipAddress,userName,password) 将指定的目标添加到对象。
tgs
targetName
ipAddress
userName
password
示例
全部折叠
创建一个目标对象并添加名为 LinuxTarget1 的目标,其中包含用户名 user1、密码 myPassword 和 IP 地址。
LinuxTarget1
user1
myPassword
tgs = linux.Targets(); tg = tgs.addTarget("LinuxTarget1", "178.10.10.1", "user1", "myPassword");
由 linux.Targets 类创建的目标对象。
linux.Targets
示例: tgs, target_object
target_object
指定目标的名称。
示例: "LinuxTarget1"
指定目标的 IP 地址。
示例: "178.10.10.1"
指定目标的用户名。
示例: "user1"
指定目标上用户的密码。
示例: "myPassword"
在 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.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处