Main Content

midtest

(To be removed) Open graphical tool for testing 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

midtest
midtest('file')

Arguments

'file'

File containing the test to be used by the MATLAB® Instrument Driver Testing Tool

Description

midtest opens the MATLAB Instrument Driver Testing Tool. The MATLAB Instrument Driver Testing Tool provides a graphical environment for creating a test to verify the functionality of a MATLAB instrument driver.

The MATLAB Instrument Driver Testing Tool provides a way to

  • Verify property behavior

  • Verify function behavior

  • Save the test as MATLAB code

  • Export the test results to MATLAB workspace, figure window, MAT-file, or the MATLAB Variables editor

  • Save test results as an HTML page

midtest('file') opens the MATLAB Instrument Driver Testing Tool with the test loaded from file.

For a full description of the tool with examples, see Instrument Driver Testing Tool Overview.

Examples

midtest('test.xml')

opens the MATLAB Instrument Driver Testing Tool with the test test.xml loaded.

Version History

Introduced before R2006a

expand all

Not recommended starting in R2022a