Skip to Main Content Skip to Search
Product Documentation

xpcgetCC - Compiler settings for xPC Target environment

Syntax

type = xpcgetCC
type = xpcgetCC('Type')
[type, location] = xpcgetCC
location= xpcgetCC('Location')
xpcgetCC('supported')
xpcgetCC('installed')
[compilers] = xpcgetCC('installed')

Description

type = xpcgetCC and type = xpcgetCC('Type') return the compiler type in type.

[type, location] = xpcgetCC returns the compiler type and its location in type and location.

location= xpcgetCC('Location') returns the compiler location in location.

xpcgetCC('supported') lists supported compiler versions for the xPC Target environment.

xpcgetCC('installed') lists the xPC Target supported compilers installed on the current host computer

[compilers] = xpcgetCC('installed') returns the xPC Target supported compilers installed on the current host computer in a structure.

Examples

Return the compiler type.

type = xpcgetCC

Return the compiler type and compiler location.

>> [type, location] = xpcgetCC

Return the xPC Target supported compilers installed on the current host computer in a structure and access the structure fields

[compilers] = xpcgetCC('installed')

compilers = 

1x3 struct array with fields:
    Type
    Name
    Location

compilers.Type

ans =

VisualC

See Also

xpcsetCC

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS