getServer
说明
返回已配置的 OSLC 客户端 myServerURL
= getServer(myClient
)myClient
的服务器 URL。
示例
获取 OSLC 客户端的服务器 URL
此示例显示如何获取在 MATLAB® 中创建的 OSLC 客户端的服务器 URL,并配置客户端以连接到需求管理域的 OSLC 服务提供商。
按照 为需求管理域创建并配置 OSLC 客户端 所述创建并配置 OSLC 客户端后,获取 OSLC 客户端 myClient
的服务器 URL。
mySeverURL = getServer(myClient)
myServerURL = 'https://localhost:9443'
输入参数
myClient
— OSLC 客户端
oslc.Client
对象
OSLC 客户端,指定为 oslc.Client
对象。
输出参量
myServerURL
— OSLC 客户端的服务器 URL
字符向量
OSLC 客户端的服务器 URL,以字符向量形式返回。
示例: 'https://localhost:9443'
版本历史记录
在 R2021a 中推出
另请参阅
MATLAB 命令
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
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:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)