(To be removed) Convert driver to MATLAB instrument driver format
This function will be removed in a future release. Use the Instrument Control Toolbox™ Support Package for IVI® and VXIplug&play Drivers instead. For more information on updating your code, see Compatibility Considerations.
makemid('driver', 'filename', '
Name of driver being converted.
Name of file that the converted driver is saved to. You may
specify a full pathname. If an extension is not specified, the
The type of driver the function looks for. By default, the function searches among all types.
makemid('driver') searches through known
driver types for
driver and creates a MATLAB® instrument driver representation of the driver. Known driver types
include VXIplug&play and IVI-C. For
driver you can use a
Module (for IVI-C), a
LogicalName (for IVI-C), or the original
VXIplug&play instrument driver name. The MATLAB instrument driver will be saved in the current working directory as
The MATLAB instrument driver can then be modified using
midedit to customize the driver behavior, and may be used to
instantiate a device object using
makemid('driver', 'filename') creates and
saves the MATLAB instrument driver using the name and path specified by
override the default search order and look only for drivers whose type is
type. Valid types are
The function searches for the specified driver root interface. For example, if the
driver supports the
IIviScope interface, an
interface value of
IIviScope results in a
device object that only contains the
properties and methods.
MAKEMID is unable to open MDDs with non-ascii characters either in their name or path on Mac platforms.
To convert the driver
hp34401 into the MATLAB instrument driver
hp34401.mdd in the current
To convert the driver
tktds5k into the MATLAB instrument driver with a specific name and location,
To convert the IVI-C driver
tktds5k into the MATLAB instrument driver
tktds5k.mdd in the current
working directory. This example causes the function to look for the driver only
among the IVI-C drivers.
To create the MATLAB instrument driver
MyIviLogicalName.mdd from the
IVI logical name
Version HistoryIntroduced before R2006a
This function returns a warning that it will be removed in a future release.
For existing MATLAB instrument drivers created with
icdevice function still works. For
IVI and VXIplug&play
with one of the supported drivers in the Instrument Control Toolbox Support Package for
IVI and VXIplug&play Drivers.
midtest functions launch apps to
edit and test MATLAB instrument drivers. For existing instrument driver files, you can use a text
editor to make edits, if necessary. These apps are not needed for the
For more information about the Instrument Control Toolbox Support Package for IVI and VXIplug&play Drivers, see IVI and VXIplug&play Drivers.
R2022a: To be removed
This function runs without warning but will be removed in a future release.