Main Content

filepath

Full path and file name of data dictionary

Description

example

dictionaryFilePath = filepath(dictionaryObj) returns the full path and file name of the data dictionary dictionaryObj, a Simulink.data.Dictionary object.

Examples

collapse all

Open the data dictionary myDictionary_ex_API.sldd and represent it with a Simulink.data.Dictionary object named myDictionaryObj.

myDictionaryObj = Simulink.data.dictionary.open('myDictionary_ex_API.sldd');

Return the full path of myDictionary_ex_API.sldd and assign it to variable myDictionaryFilePath.

myDictionaryFilePath = filepath(myDictionaryObj)
myDictionaryFilePath =

C:\Users\jsmith\myDictionary_ex_API.sldd

Input Arguments

collapse all

Target data dictionary, specified as a Simulink.data.Dictionary object. Before you use this function, represent the target dictionary with a Simulink.data.Dictionary object by using, for example, the Simulink.data.dictionary.create or Simulink.data.dictionary.open function.

Introduced in R2015a