MATLAB BUILDER EX 1 Podręcznik Użytkownika Strona 28

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 27
2 Programming with MATLAB Builder for Excel
Handle_Error:
foo = Err.Description
End Function
How the MCR Is Shared Among Classes
MATLAB Builder for Excel creates a single MCR when the first COM class
is instantiated in an application. This MCR is reused and shared among all
subsequent class instances within the component, resulting in more efficient
memory usage and eliminating the MCR startup cost in each subsequent
class instantiati on.
All class instances sha re a si ng le M ATLAB workspace and share global
variables in the M-files used to build the component. This makes properties of
a COM class behave as static properties instead of instance-wise properties.
2-8
Przeglądanie stron 27
1 2 ... 23 24 25 26 27 28 29 30 31 32 33 ... 163 164

Komentarze do niniejszej Instrukcji

Brak uwag