Effacer les filtres
Effacer les filtres

Can mexw64 files be used on 32 bit matlab?

3 vues (au cours des 30 derniers jours)
Rednar
Rednar le 21 Juin 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

Réponse acceptée

James Tursa
James Tursa le 21 Juin 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 commentaire
Rednar
Rednar le 21 Juin 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink Functions dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by