Mathworks has acknowledged this as a bug in MATLAB 7.0 (R14) and MATLAB 7.0.1 (R14SP1). Their recommendation is presented below:

There are several known issues with the COM interface shipped with MATLAB 7.0 (R14) and MATLAB 7.0.1 (R14SP1). See the problem descriptions below for more information.Fixes for all of the problems listed below have been addressed in an updated version of comcli.dll. You should replace the current version in your MATLAB installation with this updated version. Here are the required steps:

  1. If you have not already done so, upgrade to MATLAB 7.0.1 (R14SP1). The revised version of comcli.dll will work only with this version of MATLAB.
  2. Quit MATLAB.
  3. Rename the following file: $MATLAB\bin\win32\comcli.dll (where $MATLAB is the MATLAB root directory on your machine) to $MATLAB\bin\win32\comcli.dll.old.
  4. Download the new file: comcli.dll and place it in the same directory mentioned in step 3.
  5. Restart MATLAB
  6. After restarting MATLAB, issue the following command at the MATLAB prompt: rehash toolboxcache.

Note that if you use MATLAB Compiler to deploy applications that use the COM Interface, you will have to package the revised comcli.dll separately. On the target machine, the revised comcli.dll should replace the original in $MCR_ROOT\bin\win32.

Note that to use the “Export to MATLAB” feature, you need to run EMGworks® with administrator privileges. An alternative approach is to run the “Load EMG” script within the MATLAB environment and import *.emg files directly.