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

3 次查看(过去 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 中查找有关 MATLAB Compiler 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by