This error can be caused a number of ways.
I will try to cover a number of these causes and their solutions by referencing other appropriate sources.
These links maybe of help to you also:
This is the error that was shown when trying to run the .m file in MATLAB.
Calling LabVIEW Vis from the MathWorks Inc. MATLAB:
Error in calling a dll built in LabVIEW from Matlab standalone.
How to output data when converting LabVIEW VI into MatLab MEX function
Hope these help
NIUK & Ireland
These are also facts to be aware of:
The 1.0.1 version of the Maths Interface Toolkit. This is only compatible with the 7.x versions of Labview.
The version that has support for
To call any MEX file created using the Matlab interface toolkit the Mathworks, Inc. MATLAB(R), the matlab interface toolkit Run-Time and version 7.1 of the LabVIEW Run-Time engine must be installed.
NIUK & Ireland
In regards to compatibility of the Math Interface Toolkit with LV 8.0:
When LV 8.0 was released the then current version of the toolkit was 1.0.
There is a compatibility problem with the 1.0 version of the LabVIEW Math Interface toolkit and LabVIEW 8.x.
However, this is fixed in the 1.0.2 version of the toolkit, which is a free upgrade for owners of the 1.0 version and the version that is now being sold to all LV 8.0 users.
To upgrade your software, please visit the Upgrade Advisor. For a Toolkit/LabVIEW version compatibility chart, please refer to the LabVIEW Toolkit/Module Version Information page.
I have also attached the LabVIEW Math Interface toolkit read me file for version 1.0.2. This includes installation instructions for the various versions of the toolkit, as well as the version compatibility information.
I hope this answers you questions,
NIUK & Ireland
The Math Interface Toolkit converts LabVIEW VIs into MEX-files for use in The MathWorks, Inc. MATLAB® application software. Select Tools»Math Interface Toolkit in LabVIEW to open the Math Interface Toolkit.
The Math Interface Toolkit Run-Time Engine, which is available on the Math Interface Toolkit CD in the MathInterfaceRunTime folder, is required to distribute and call MEX-files created with the Math Interface Toolkit. You must install the LabVIEW Run-Time Engine on a machine before you can run a MEX-file. The LabVIEW Run-Time Engine must be the same version as the LabVIEW version that created the MEX-file.
Complete the following steps to install the Math Interface Toolkit for LabVIEW 8.0 and newer.
Complete the following steps to install the Math Interface Toolkit for LabVIEW 7.0 or LabVIEW 7.1.
To use the Math Interface Toolkit to create MEX-files, you must be a properly licensed user of the Math Interface Toolkit. The license requirements for the Math Interface Toolkit vary depending on the version of LabVIEW you have installed. The following table describes the different installation and license requirements.
|LabVIEW Version||Installation and License Requirements|
|LabVIEW 7.0||The Math Interface Toolkit and the LabVIEW Application Builder share internal functionality. If you are using both toolkits on the same computer and you uninstall one of the toolkits, the shared functionality is removed. Therefore, you must reinstall the remaining toolkit.|
|LabVIEW 7.1||You must have the Math Interface Toolkit properly installed.|
|LabVIEW 8.0||You must have both the Application Builder and the Math Interface Toolkit installed and properly licensed to use the Math Interface Toolkit.|
|LabVIEW 8.0.1||You must have the Math Interface Toolkit installed and properly licensed to use the toolkit.|
Refer to the Activation Instructions for National Instruments Software Note to Users, located in the software kit, for more information about activating the Math Interface Toolkit license. This information is also found in the Math Interface Toolkit Help.
Refer to the Math Interface Toolkit Help, accessible by selecting Help»Math Interface Toolkit Help from the pull-down menu in LabVIEW, for information about the Math Interface Toolkit.
© 2006 National Instruments Corporation. All rights reserved.
MATLAB® is a registered trademark of The MathWorks, Inc.
I have Labview 2009 instaled and I want to to use math interface toolkits.
I have instaled math interface toolkits but when I am creating the mex file I recieve the following error:
At least one of the LNX-file creations was not successful. To call any of the successfully created LNX-files, XMath, the Math Interface Toolkit for XMath Run-Time, and version 9.0 of the LabVIEW Run-Time Engine must be installed.
It the matlab toolbox I also don't see the Ni math interface toolkits? (I am useig matlab 2010a)
Could you please tell me if this version of math interface toolkits is comaptibale to Labview 9 and what is the istalation procedure?