User`s guide
New Features
2-15
Property Added to ActiveX and Engine Interfaces
For ActiveX automation server applications and MATLAB Engine applications
running on Windows, you can control whether the application windows appear
on the Windows desktop with a new property called
Visible.
When
Visible is set, the ActiveX application or engine server window is visible
on the desktop, thus enabling user interaction with the server. This is the
default. When
Visible is cleared, the application or engine window is removed
from the desktop.
ActiveX. This example disables the visibility of an ActiveX automation server
application by setting
h.visible to 0. It checks the visibility setting in line 3
by examining
h.visible.
h = actxserver('Matlab.Application');
h.visible = 0;
h.visible
ans =
0
MATLAB Engine.
For a MATLAB engine session, use the engSetVisible and
engGetVisible functions that are new in MATLAB 6.1. Line 4, below, disables
the visibility of the MATLAB engine window using
engSetVisible with an
argument of
0. Line 5 checks this setting with engGetVisible.
Engine *ep;
bool vis;
ep = engOpen(NULL);
engSetVisible(ep, 0);
engGetVisible(ep, &vis);
matGetNextArrayHeader matPutArray
matPutArrayAsGlobal
Table 2-4: New Fortran Engine Functions
engGetArray engPutArray
Table 2-3: New Fortran MAT Functions (Continued)