Can mexw64 files be used on 32 bit matlab?

3 ビュー (過去 30 日間)
Rednar
Rednar 2013 年 6 月 21 日
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

採用された回答

James Tursa
James Tursa 2013 年 6 月 21 日
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 件のコメント
Rednar
Rednar 2013 年 6 月 21 日
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.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Functions についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by