필터 지우기
필터 지우기

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 CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by