What compiler works with this, Create Visual C/C++ Solution File for the Embedded Coder

조회 수: 4 (최근 30일)
When generating code for this target, Create Visual C/C++ Solution File for the Embedded Coder
I get this error
No supported Visual C/C++ compiler found. Check your installation of Visual C/C++.
Compiler Properties: Name: 'Microsoft SDK' Manufacturer: 'Microsoft' Language: 'C++' Version: '7.1' Location: 'c:\Program Files (x86)\Microsoft Visual Studio 10.0' Details: [1x1 mex.CompilerConfigurationDetails] LinkerName: 'Microsoft SDK' LinkerVersion: '7.1'
Running Matlab 2012b

답변 (1개)

Sriram Narayanan
Sriram Narayanan 2015년 5월 4일
If you want to generate code for an ERT target for creating a Visual C/C++ Solution File for Embedded Coder, you need to have Visual Studio installed on your machine rather than just Microsoft Windows SDK 7.1 which you already have installed and is just a supported compiler for Code Generation.
For R2015a, the supported Visual Studio compilers are listed at the following page. You can also find the same information about previous releases here. You need to have a Professional version of Visual Studio installed to create the C/C++ Solution file.

카테고리

Help CenterFile Exchange에서 Troubleshooting in MATLAB Compiler SDK에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by