linkSet
クラス: slreq.Link
名前空間: slreq
リンクのリンク セットを取得
構文
myLinkSet = linkSet(myLink)
入力引数
myLink
— リンク
slreq.Link
オブジェクト
リンク。slreq.Link
オブジェクトとして指定します。
出力引数
myLinkSet
— リンク セット
slreq.LinkSet
オブジェクト
リンク セット。slreq.LinkSet
オブジェクトとして返されます。
例
リンクのリンク セットを取得
この例では、リンクのリンク セットを取得する方法を示します。
ShortestPath
プロジェクトを開きます。
openProject("ShortestPath");
要件セット shortest_path_func_reqs
を読み込みます。
rs = slreq.load("shortest_path_func_reqs.slreqx");
読み込まれたリンクを見つけます。
myLinks = slreq.find(Type="Link")
myLinks=1×37 Link array with properties:
Type
Description
Keywords
Rationale
CreatedOn
CreatedBy
ModifiedOn
ModifiedBy
Revision
SID
Comments
最初のリンクのリンク セットを取得します。
myLinkSet = linkSet(myLinks(1));
リンク セットの名前を表示します。
[~,name,ext] = fileparts(string(myLinkSet.Filename)); disp(name+ext)
graph_unit_tests.slmx
バージョン履歴
R2018a で導入
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)