About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
  • License: Freeware
  • Last update: 5 years ago
  • Total downloads: 86
  • Price: Free |
  • Operating system: Linux, Mac OS X, Win All, BSD, Solaris
  • Publisher: Tom Gaudette (14 other programs)
See full specifications

scripts default iconMultiple Interface Command Environment (MICE) (Scripts) Publisher's description

This app is designed to allow easier interfacing with interfaces such as GPIB, Serial, and others (though honestly I've never tried it on anything other than an iotech GPIB.)For information on interfaces, check out

Tested in R13!!!

This app is designed to allow easier interfacing with interfaces such as GPIB, Serial, and others (though honestly I've never tried it on anything other than an iotech GPIB.)For information on interfaces, check out

>> instrhelp

NOTE: In this app, I refer to interfaces as devices, because they interface to a physical device, like a multimeter or an O-scope, etc.

In it's present state, this app has 3 Command Environments, each has a different prompt, and responds differently to commands.

Device ($>) in the device command environment (ce), commands that you type at the prompt are sent directly to the current interface using fprintf. fscanf is then called on the interface, and the results are displayed on the console (Command Window).

Please note that because of this, by default, all new interfaces created in this program are created with a Timeout of 1 (second). You can change the default value for any new interfaces created during the runtime by typing 'default Timeout' in the Program CE. You can also change the value of the variable defaultTimeout in the beginning of this code, to change the startup value for default Timeout. use intrhelp to find out how to st a custom Timeout.

FUTURE PLANS: I plan to add a simple way of opting out of calling fscanf, on a onetime basis and on a toggle basis. I hope to introduce a new CE which will allow you to use MATLAB code for strings (indexing, and concatenating, and casteing, etc) to send commands, e.g., instead of:

You could use:
:$>['MATH1:DEFINE ','"CH1 + CH2"'];

I understand in the above situation, there's no point, by ideally, you could use variables instead of string literals Program (:>) This CE simply allows access to basic commands specific to MICE.

Commands like quit, cls, new device, device list, etc. Feel free to hardcode your own commands into the Program Section (feel free to do it anywhere, but it will be a little harder anywhere else).

If you have any good ideas of commands you want to see, let me know. To get a complete list of Program CE commands, get out a pen and paper and write down all the cases in the switch command of the program section.

MATLAB (::>)

In theory, the MATLAB CE works just like you're typing in the
Command Window. I'm not going to gurauntee that, but that's the premise.

Switching Command Environments
To switch from one CE to another, simply type the prompt at any of the CEs' prompts. E.g., to switch from the MATLAB CE, to the device CE, it would look like this:

Simple enough.
To do a CE override, in otherwords, send a single command to another CE without actually switching to that CE, simply type the prompt of the target CE, without the > at the end. So if you wanted to quit MICE (but honestly, I mean why would you?) from the device CE, it goes like this:


To find out what the current device is from the MATLAB CE, like this:

::>:device current

And to send the identity query to the current interface from the program CE:


Easy breasy.

"A Bug is a feature that has yet to be documented."

System Requirements:

MATLAB 6.5 (R13)
Program Release Status: New Release
Program Install Support: Install and Uninstall

Multiple Interface Command Environment (MICE) (Scripts) Tags:

Click on a tag to find related softwares

Is Multiple Interface Command Environment (MICE) (Scripts) your software?

Manage your software

Most Popular

scripts default icon ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
scripts default icon Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
scripts default icon M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
scripts default icon LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
scripts default icon InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.