MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Betriebsanweisung Seite 141

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 354
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 140
C Shared Library Target
Component Description
libmatrix.ctf
Component Technology File archive;
platform-dependent file that must correspond to
the end user’s platform
libmatrix
Shared librar y; extension varies by platform, for
example,
DLL on Windows
libmatrix.h
Library header file
Calling a Shared Library
At run-time, there is an MCR instance associated with each individual
shared library. Consequently, if an application links against two MATLAB
Compiler generated s hared libraries, there will be two MCR instances created
at run-time.
You can control the behavior of each M CR instance by using M CR o ptions.
The two classes of MCR options are global and local. Global MCR options are
identical for each M C R instance in an a pplication. Local MC R options m ay
differ for MCR instances.
To use a shared library, you m ust use these functions:
mclInitializeApplication
mclTerminateApplication
mclInitializeApplication
allows you to set the global MCR opt ions. They
apply equally to all MCR instances. You must set these options before creating
your firs t MCR instance.
These functions are necessary because s ome MCR options such as whether
or not to start Java, the location of the M CR itself, whether or not to use the
MATLAB JIT feature, and so on, a re set when the first MCR instance starts
and cannot be changed by subsequent instances of the MCR.
7-11
Seitenansicht 140
1 2 ... 136 137 138 139 140 141 142 143 144 145 146 ... 353 354

Kommentare zu diesen Handbüchern

Keine Kommentare