You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
mex error ARCH: Unsupported platform.
1 view (last 30 days)
Show older comments
hey, I am trying to use mex -setup but when I input commend "mex -setup", the error message comes as below: Error: ARCH: Unsupported platform. but I still can select the compiler and continue it. can anyone tell me what is the error message mean? is it effect the work? Im using matlab2013a and windows8 64bit thanks very much for your kindly answer
21 Comments
Walter Roberson
on 23 Apr 2013
Edited: Walter Roberson
on 23 Apr 2013
Friedrich's command did not work because you have a space in the path. But you should not need it; you should be able to just type
mexext
Also we will need to see the output of
computer('arch')
Walter Roberson
on 23 Apr 2013
Is it still saying that D:Program cannot be recognized? Or is it just saying MEXEXT: Unsupported platform now?
Walter Roberson
on 24 Apr 2013
curdir = cd( fullfile(matlabroot, 'bin') );
system('mexext.bat');
cd(curdir);
Walter Roberson
on 24 Apr 2013
Ah... what does matlabroot return for you? In particular, does it include the C: or D: drive prefix?
Walter Roberson
on 24 Apr 2013
It's okay, cd() returns as its value the old directory.
Is it returning 'D:MATLAB' or is it 'D:\MATLAB' ? If it does not have the \ in there then you are making use of some icky MS Windows relative-directory semantics that are going to cause trouble later. Better if you use the full path rather than the relative path. How are you getting to D:MATLAB ? Are you cd'ing to there or is it by way of the Windows Explorer properties set for the MATLAB icon ?
Anyhow, please also show the content of
matlabroot
Friedrich
on 24 Apr 2013
At least those env. vars suggesting that you started the matlab.exe from the D:\Program Files\MATLAB\R2013a\bin\win64 folder. Whats happening when you start the matlab.exe in the D:\Program Files\MATLAB\R2013a\bin folder?
Answers (1)
Jan
on 24 Apr 2013
Two chances to find out more about the serious problem:
- dbstop if all error, then run mex -setup again. Now look if you find any comments near to the failing line. Perhaps you can check the value, hwioch does not match the filter.
- Call the technical support of TMW. The help for installation problems.
See Also
Categories
Find more on Whos in Help Center and File Exchange
Tags
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)