Main Content

midedit

(To be removed) Open graphical tool for creating and editing MATLAB instrument driver

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.

Syntax

midedit
midedit('driver')

Arguments

'driver'

The name of a MATLAB® instrument driver.

Description

midedit opens the MATLAB Instrument Driver Editor, which is a graphical tool for creating and editing instrument drivers.

midedit('driver') opens the MATLAB Instrument Driver Editor for the specified instrument driver. The default extension for driver is .mdd. Note that driver can include a relative partial pathname.

The editor consists of two main parts: the navigation pane and the detail pane. The navigation pane lists the driver-specific properties and functions in a tree view, while the detail pane allows you to configure and document the properties and functions.

midedit may also be used to import VXIplug&play or IVI drivers. With midedit open, select Import from the File menu. The import process creates a new MATLAB Instrument Driver based on the VXIplug&play or IVI driver. This allows you to customize the behavior of device objects that use the VXIplug&play or IVI driver.

For details and examples on the MATLAB Instrument Driver Editor, see MATLAB Instrument Driver Editor Overview.

Note

MIDEDIT is unable to open MDDs with non-ascii characters either in their name or path on Mac platforms.

Version History

Introduced before R2006a

expand all

R2022b: Warns

This function returns a warning that it will be removed in a future release.

For existing MATLAB instrument drivers created with makemid or midedit, the icdevice function still works. For IVI and VXIplug&play drivers, use ividev with one of the supported drivers in the Instrument Control Toolbox Support Package for IVI and VXIplug&play Drivers.

The midedit and 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 ividev interface.

For more information about the Instrument Control Toolbox Support Package for IVI and VXIplug&play Drivers, see IVI and VXIplug&play Drivers.