Borrar filtros
Borrar filtros

Can mexw64 files be used on 32 bit matlab?

3 visualizaciones (últimos 30 días)
Rednar
Rednar el 21 de Jun. de 2013
I'm trying to run a simulation with Simulink but it keeps throwing me errors of the type "Error in S-Function ... does not exist". I do have the corresponding mex files and the path is appropriately set on Matlab but for some reason it's not being able to find them.
To be more specific, the files I'm talking about are .mexw64, my matlab version is 7.5 R2007b 32 bit and my windows laptop is 64 bit.
Just for the record
>>mexext
mexw32
Should the mexw64 files be read anyways and the problem at hand is of other nature or is it indeed because my matlab version is of 32 bit? If the reason is the latter, is there something I can do to change those mexw64 files to mexw32 even though I don't have the source code or would I be better off getting the 64 bit version of matlab?
Kind regards, Rednar

Respuesta aceptada

James Tursa
James Tursa el 21 de Jun. de 2013
You cannot run mexw64 code with 32-bit MATLAB. You either need to run them with a 64-bit MATLAB, or recompile the source code in your 32-bit MATLAB to produce mexw32 files. You cannot convert a mexw64 file into a mexw32 file.
  1 comentario
Rednar
Rednar el 21 de Jun. de 2013
Ok and on account of I don't have the source code I reckon I should be getting a 64-bit MATLAB then. Thanks a lot this answers my question.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Simulink Functions en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by