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

4 ビュー (過去 30 日間)
David Nelson
David Nelson 2015 年 4 月 28 日
回答済み: Sriram Narayanan 2015 年 5 月 4 日
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 Center および File ExchangeTroubleshooting 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