Main Content


View channel data from MDF-file

Since R2019a



mdfVisualize(mdfFileName) opens an MDF-file in the Simulation Data Inspector for viewing and interacting with channel data. mdfFileName is the name of the MDF-file, specified as a full or partial path.


mdfVisualize supports only integer and floating point data types in MDF-file channels.


collapse all

View the data from a specified MDF-file in the Simulation Data Inspector.


Input Arguments

collapse all

MDF-file name, specified as a character vector or string, including the necessary full or relative path.

Depending on the location you are accessing, mdfFileName can take one of these forms.



Current folder or MATLAB® path

To access a file in the current folder or MATLAB path, specify the name of the file in filename, including the file extension.

Example: "myMdfFile.mf4"

Other folders

To access a file in a folder other than the current folder, specify the full or relative path name in filename.

Example: "C:\myFolder\myMdfFile.mf4"

Example: "\dataDir\myMdfFile.mf4"

Remote locations

To access a file in a remote location, filename must contain the full path of the file specified as a uniform resource locator (URL) of the form:


Based on the remote location, scheme can be one of the values in this table.

Remote Locationscheme
Amazon S3™s3
Windows Azure® Blob Storagewasb, wasbs

For more information, see Work with Remote Data.

Example: "s3://bucketname/path_to_file/myMdfFile.mf4"

Example: 'MDFFile.mf4'

Data Types: char | string

Version History

Introduced in R2019a

expand all

See Also