MATLAB 帮助中心
本页采用了机器翻译。点击此处可查看最新英文版本。
在系统浏览器中查看 OSLC 资源
自 R2021a 起
show(resource)
show(resource) 在系统浏览器中打开与 resource 关联的 ResourceUrl。
resource
ResourceUrl
示例
全部折叠
此示例显示如何使用已配置的 OSLC 客户端提交新需求资源的创建请求。
按照为需求管理域创建和配置 OSLC 客户端中所述创建并配置 OSLC 客户端 myClient 后,为需求资源类型创建一个创建工厂。
myClient
myCreationFactory = getCreationFactory(myClient,'Requirement');
使用创建工厂创建一个名为 My New Requirement 的新需求资源。从服务提供方处检索需求资源的完整资源数据并检查该资源。
My New Requirement
newReq = createRequirement(myCreationFactory,'My New Requirement'); fetch(newReq,myClient); newReq
newReq = Requirement with properties: ResourceUrl: 'https://localhost:9443/rm/resources/_72lxMWJREeup0...' Dirty: 0 IsFetched: 1 Title: 'My New Requirement' Identifier: '1806'
使用 show 函数在系统浏览器中打开需求资源。
show
show(newReq)
oslc.rm.Requirement
oslc.rm.RequirementCollection
oslc.cm.ChangeRequest
OSLC 资源,指定为以下对象之一:
oslc.qm.TestCase
oslc.qm.TestExecutionRecord
oslc.qm.TestPlan
oslc.qm.TestResult
oslc.qm.TestScript
在 R2021a 中推出
oslc.Client | oslc.rm.Requirement | oslc.rm.RequirementCollection | oslc.cm.ChangeRequest | oslc.qm.TestCase | oslc.qm.TestExecutionRecord | oslc.qm.TestPlan | oslc.qm.TestResult | oslc.qm.TestScript | fetch | commit | remove
oslc.Client
fetch
commit
remove
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 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处