DDS Support Package MEX-file is not a valid Win32 application

4 Ansichten (letzte 30 Tage)
Cengel
Cengel am 10 Jan. 2017
Beantwortet: Vishal Neelagiri am 17 Jan. 2017
I'm attempting to run the RTI shapes demo included with the DDS Support Package and receive an error when calling the DDS.import command (DDS.import('ShapeType.idl','matlab', 'f')). The error I receive is the following:
Invalid MEX-file 'C:\Program Files\MATLAB\R2016b\toolbox\psp\tools\ddsblockset\mexGetVersion.mexw64': C:\Program Files\MATLAB\R2016b\toolbox\psp\tools\ddsblockset\mexGetVersion.mexw64 is not a valid Win32 application..
I'm running Matlab R2016b and installed the DDS support package that was identified to be used with this Matlab version. Both Matlab and the DDS package I downloaded are for a 64 bit operating system (which is what my operating system is). The mex file extension (.mexw64) also seems to imply that it's meant to run on a 64 bit system.
So why is it expecting a Win32 application when I'm running a 64 bit system? If the DDS Support package was designed to be used on R2016b why would I be getting this error?
Thanks in advance for any help!

Antworten (1)

Vishal Neelagiri
Vishal Neelagiri am 17 Jan. 2017
The problem is that some applications also contain compiler dependencies. If the application is deployed to a machine without this compiler, the application will not find these and error out.
Thus you also need to install the redistributables of this compiler on the machine you would like to application to run on.
E.g. You will need to install Microsoft Visual C++ 2010 Redistributable Package if your application was compiled with SDK 7.1 compiler to run the application successfully.

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by