how to install a compiler for windows 8.1

조회 수: 1 (최근 30일)
vijay sai
vijay sai 2014년 1월 22일
답변: Richard Crozier 2015년 6월 22일
To build a model from simulink, a compiler is needed to be installed. How do I do it on windows 8.1

답변 (3개)

Walter Roberson
Walter Roberson 2014년 1월 22일
Once you have installed a suitable compiler, at the MATLAB command line, command
mex -setup
and chose the compiler you installed.
  댓글 수: 1
Richard Crozier
Richard Crozier 2015년 6월 22일
The Windows SDK no longer ships with a complete command-line build environment. You must install a compiler and build environment separately.
So there are now no officially supported compilers on Windows 8.1. The real solution is to use Linux of course, or The Mathworks to support gcc on windows, or llvm perhaps.

댓글을 달려면 로그인하십시오.


Mostafa
Mostafa 2014년 7월 20일
편집: Mostafa 2014년 7월 20일
Hello Dear,
I have the same problem with windows 8.1. I'm running MATLAB r2014a on my Windows 8.1. 64bit, Also I installed the MS windows SDK 8.1 for my windows. However, I can't see MS SDK 8.1 in supported compilers for MATLAB in mathworks website, and it seems we should reinstall MS windows 7 64bit and SDK 7.1 instead! I feel annoying do so, and I will wait till a solution can be found for this flaw in MATLAB. I'm waiting for that enthusiastically!
Good Luck.

Richard Crozier
Richard Crozier 2015년 6월 22일
You can't, there are no supported compilers for Windows 8.1
The Windows SDK no longer ships with a complete command-line build environment. You must install a compiler and build environment separately.
So there are now no officially supported free compilers on Windows 8.1. Unless you are willing to pay for Visual Studio. The real solution is to use Linux of course, or for The Mathworks to support gcc on windows, or llvm perhaps.

카테고리

Help CenterFile Exchange에서 C Shared Library Integration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by