MATLAB Answers

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

4 views (last 30 days)
David Nelson
David Nelson on 28 Apr 2015
Answered: Sriram Narayanan on 4 May 2015
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

Answers (1)

Sriram Narayanan
Sriram Narayanan on 4 May 2015
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.

Community Treasure Hunt

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

Start Hunting!