filepath
データ ディクショナリの絶対パスとファイル名
説明
は、データ ディクショナリ dictionaryFilePath
= filepath(dictionaryObj
)dictionaryObj
(Simulink.data.Dictionary
オブジェクト) の絶対パスとファイル名を返します。
例
データ ディクショナリ ファイルのパスを返す
データ ディクショナリ myDictionary_ex_API.sldd
を開き、myDictionaryObj
という名前の Simulink.data.Dictionary
オブジェクトで表します。
myDictionaryObj = Simulink.data.dictionary.open('myDictionary_ex_API.sldd');
myDictionary_ex_API.sldd
の絶対パスを返し、変数 myDictionaryFilePath
に代入します。
myDictionaryFilePath = filepath(myDictionaryObj)
myDictionaryFilePath = C:\Users\jsmith\myDictionary_ex_API.sldd
入力引数
dictionaryObj
— ターゲットのデータ ディクショナリ
Simulink.data.Dictionary
オブジェクト
ターゲットのデータ ディクショナリ。Simulink.data.Dictionary
オブジェクトとして指定します。この関数を使用する前に、関数 Simulink.data.dictionary.create
や関数 Simulink.data.dictionary.open
を使用してターゲットのディクショナリを Simulink.data.Dictionary
オブジェクトで表しておきます。
バージョン履歴
R2015a で導入
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)