MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Bedienungsanleitung Seite 147

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 408
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 146
Advanced Topics
3-37
Memory Management
As of Version 5.2, MATLAB now implicitly destroys (by calling
mxDestroyArray) any arrays created by a MEX-file that are not returned in the
left-hand side list (
plhs()). Consequently, any misconstructed arrays left over
at the end of a MEX-file’s execution have the potential to cause memory errors.
In general, we recommend that MEX-files destroy their own temporary arrays
and clean up their own temporary memory. For additional information on
memory management techniques, see the sections “Memory Management” on
page 2-38 and “Memory Management Compatibility Issues” on page 1-37.
Seitenansicht 146
1 2 ... 142 143 144 145 146 147 148 149 150 151 152 ... 407 408

Kommentare zu diesen Handbüchern

Keine Kommentare