20 Using MATLAB to communicate with the Phidget

To open a connection between MATLAB and the Phidget type the followning command into the MATLAB command window:

phidgetInit

You should see the message:

Connected to a Phidget InterfaceKit device

If you do not see this message check that the USB cable is plugged into both the computer and the Phidget and try the command again.

Ask a teaching assistant for help if you cannot establish a connection between the computer and the Phidget.