filepath
데이터 사전의 전체 경로 및 파일 이름
설명
는 dictionaryFilePath
= filepath(dictionaryObj
)Simulink.data.Dictionary
객체인 데이터 사전 dictionaryObj
의 전체 경로 및 파일 이름을 반환합니다.
예제
데이터 사전 파일의 경로 반환하기
데이터 사전 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 명령 창에 입력하십시오. 웹 브라우저는 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)