MATLAB BUILDER JA 2 Guide de l'utilisateur Page 16

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 292
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 15
1 Getting Started
Using the Comm and Line to Create Java Components (Contin ued)
Action to Perform
mcc Option to Use Description
class{...}
Used with -W java:. Tells Java Builder to create
class_name, which encapsulates one or more
M-files that are s pecified in a com ma-separated
list.
Syntax
class{class_name:file1 [file2...fileN]}
Add additional
classes to a Java
component.
Example
mcc -W 'java:com.mycompany.mycomponent,myclass'
foo.m bar.m class{myclass2:foo2.m,bar2.m}
TheexamplecreatesaJavacomponentnamedmycomponent with two
classes:
myclass has methods foo and bar.
myclass2 has methods foo2 and bar2.
1-8
Vue de la page 15
1 2 ... 11 12 13 14 15 16 17 18 19 20 21 ... 291 292

Commentaires sur ces manuels

Pas de commentaire