MATLAB XPC TARGET RELEASE NOTES Uživatelská příručka Strana 167

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 531
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 166
Target Environment Command-Line Interface
In the MATLAB window, type
tgs.get
CCompiler: 'VisualC'
CompilerPath: 'c:\Microsoft Visual Studio'
DefaultTarget: [1x1 xpctarget.env]
NumTargets: 2
To display the va lue of particu lar target PC envir on ment col le c tion obj ect
property, use the syntax
get(env_collection_object, property_name)or
env_collection_object.property_name .
In the MATLAB window, type
tgs.CCompiler
ans =
VisualC
Setting Target PC Environment Collection Object
Properties
To set the properties of a target PC environment collection object, use the
target PC environment collection object m ethod
set. You can use either a
method s yntax or an object property syntax.
The syntax
set(env_collection_object, property_name) can be replaced
by
env_collection_object.property_name=new_property_value
To change the compiler specification, in the MATLAB window, type
tgs.CCompiler=Watcom
tgs.CompilerPath=c:\Watcom
Note that if you change the compiler type (CCompiler), you must also change
the compiler path (
CompilerPath).
To change the 3.5-inch drive specification from a : to b:, type
tgs.FloppyDrive='b:'
7-3
Zobrazit stránku 166
1 2 ... 162 163 164 165 166 167 168 169 170 171 172 ... 530 531

Komentáře k této Příručce

Žádné komentáře