mdfCreate
Description
mdfCreate(
creates an MDF file at
the location specified by mdfFileName
)mdfFileName
, using default file metadata. The
file name must include the extension .dat
, .mdf
, or
.mf4
. mdfFileName
can specify an absolute or full
path, or a URL for a file on a remote server.
mdfCreate(
creates an MDF file using the specified metadata to configure during file creation. The
object mdfFileName
,FileInfo=mdfInfoObj)mdfInfoObj
must be of the form returned by the mdfInfo
(Vehicle Network Toolbox) function,
which you can use to create the object and then modify it as needed. The supported values
for the mdfInfoObj.Version
property are "3.00"
,
"3.10"
, "3.20"
, "3.30"
,
"4.00"
, "4.10"
, and
"4.20"
.
creates an MDF file and returns its full path name as a string to the variable
newMDFFile
= mdfCreate(___)newMDFFile
. The returned full path can be useful when specifying a
partial or relative path to create the file.
Examples
Input Arguments
Output Arguments
Limitations
mdfCreate
does not support adding custom file metadata fields.