Data Acquisition (DAQ) and Control from Microstar Laboratories

Knowledge Base: Applications

Q10047 MATLAB compatibility with DAPtools for MATLAB and iDSC software

Tags: Help, MATLAB, DAPtools for MATLAB, iDSC

Applies to: MATLAB, DAP, DAPtools for MATLAB, iDSC

MATLAB reported errors (or warning) on the function calls when I tried to run my DAP (or iDSC) board. How do I find out if my version of MATLAB is compatible with the Microstar software?

  1. If MATLAB displays an error similar to the following, you are running an older DAPtools for MATLAB or iDSC software that has 16-bit functions for the MATLAB support. MATLAB 7.5 or later is not compatible with the 16-bit functions.

    ??? Invalid MEX-file 'C:\Program Files\Microstar Laboratories\DAPtools\MATLAB\DAPOPEN.DLL':

    C:\Program Files\Microstar Laboratories\DAPtools\MATLAB\DAPOPEN.DLL is not a valid Win32 application.

    • DAP - Requires DAPtools for MATLAB version 4.20 or later. The version number can be found in Version.txt in the install directory of the DAPtools for MATLAB
    • iDSC - Version not yet released. Contact Microstar.

  2. If MATLAB displays an a warning similar to the following, the DAPtools for MATLAB or iDSC software you have is still compatible. MATLAB R2007a or later will raise such a warning.

    Warning: Calling MEX-file 'C:\Program Files\Microstar Laboratories\DAPtools\MATLAB\dapopen.dll'.

    MEX-files with .dll extensions will not execute in a future version of MATLAB.

    To remove the warnings, you will need:

    • DAP - Requires DAPtools for MATLAB version 5.00.
    • iDSC - Version not yet released. Contact Microstar.

DAPtools for MATLAB is included in the DAPtools Standard or Professional software package. The iDSC software is included in the DAPtools Basic package that is shipped with each iDSC board.

L