show
説明
例
要件の新規作成
この例では、構成された OSLC クライアントを使用して、新規要件リソースの作成要求を送信する方法を説明します。
要件管理ドメインの OSLC クライアントの作成と構成 で説明されているように、OSLC クライアント myClient
を作成および構成したら、要件リソース タイプの作成用ファクトリを作成します。
myCreationFactory = getCreationFactory(myClient,'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(newReq)
入力引数
resource
— OSLC リソース
oslc.rm.Requirement
オブジェクト | oslc.rm.RequirementCollection
オブジェクト | oslc.cm.ChangeRequest
オブジェクト | ...
バージョン履歴
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)