How to install a compiler on Windows? (For a Matlab program)

不问归期 提交于 2020-01-03 05:01:11

问题


I have downloaded this code;

http://www.cs.sfu.ca/%7Emori/research/superpixels/superpixels64.tar.gz

In the readme file, it says;

  • Run mex -largeArrayDims on *.c in yu_imncut directory -largeArrayDims is needed for 64bit architectures (thanks to Richard Lowe for providing fixes for 64bit MATLAB)
  • Obtain mfm-pb boundary detector code from http://www.cs.berkeley.edu/projects/vision/grouping/segbench/
  • Change path names in sp_demo.m and pbWrapper.m
  • Get a fast processor and lots of RAM
  • Run sp_demo.m

I tried to do the mex -.. one but it told me that I don't have any compiler. How can I fix this? Can you please help me with this? I am using 64 bit Windows 7


回答1:


Here's a link to GCC for windows http://gcc.gnu.org/install/specific.html#windows




回答2:


As far as I know GCC for Windows is not supported by Matlab. Visual Studio Express Editions will work, but 2010 may require a patch dependent on the version of Matlab you are running (http://www.mathworks.com/support/compilers/R2011a/win32.html). This page lists all supported compilers for Matlab.



来源:https://stackoverflow.com/questions/5861605/how-to-install-a-compiler-on-windows-for-a-matlab-program

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!