| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Instrument Control Toolbox |
| Contents | Index |
| Learn more about Instrument Control Toolbox |
| On this page… |
|---|
MATLAB Instrument Driver Editor |
You access the general preferences from your MATLAB Command Window by selecting File > Preferences. The Preferences dialog box opens. There are two options listed for Instrument Control. Under the General node, select Confirmation Dialogs in the tree.

The first option for Instrument Control is related to the MATLAB Instrument Driver Editor (midedit).
When the option Prompt when editing drivers that do not exist is selected, if you open the MATLAB Instrument Driver Editor while specifying a driver file that does not exist, you get a prompt asking if you want to create a new driver file.
For example, the command
midedit ('newdriver')generates the prompt

If you select Do not show this prompt again, the corresponding check box in the Preferences dialog box is cleared, in which case the MATLAB Instrument Driver Editor creates new driver files without prompting. To reactivate the prompt, select the option on the Preferences dialog box.
The second option for Instrument Control is related to the MATLAB Instrument Driver Testing Tool (midtest).
When the option Prompt when editing driver tests that do not exist is selected, if you open the MATLAB Instrument Driver Testing Tool while specifying a driver test file that does not exist, you get a prompt asking if you want to create a new test file.
For example, the command
midtest ('newtest')generates the prompt

If you select Do not show this prompt again, the corresponding check box in the Preferences dialog box is cleared, in which case the MATLAB Instrument Driver Testing Tool creates new driver test files without prompting. To reactivate the prompt, check the option on the Preferences dialog box.
You access other Instrument Control Preferences by selecting the Instrument Control node in the tree.

The Device Objects section of the dialog box contains preferences related to the construction and use of device objects for VXIplug&play and IVI-C drivers.
Here you set the minimum number of properties and functions required to create a device object group, and the default size of character arrays passed as output arguments to device object functions.
Set the default size for these character arrays in the Preferences dialog box to ensure that they are large enough to accommodate any string returned to them by any device object functions. You can reduce the default character array size to avoid unnecessary memory usage, as long as they are still large enough to accommodate any expected strings.
The IVI Configuration Store section of the dialog box contains preferences related to the construction and use of IVI configuration store objects when you are working in the Command Window or in the Test & Measurement Tool (tmtool).
You can select either a master configuration store or a user-defined configuration store. If you choose a user-defined configuration store, you must provide its file name.
![]() | Communicating with Your Instrument | Getting Help | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |