User`s manual
7 ActiveX and DDE Support
7-20
Note The first statement above should be declared in the general
declarations section in order to keep the scope throughout the application.
MATLAB ActiveX Automation Properties
You have the option of making your server application visible or not by setting
the
Visible property. When visible, the server window appears on the desktop,
enabling the user to interact with the server application. This may be useful for
such purposes as debugging. When not visible, the server window does not
appear, thus perhaps making for a cleaner interface and also preventing any
interaction with the server application.
By default, the
Visible property is enabled, or set to 1.
h = actxserver('Matlab.Application');
h.visible
ans =
1
You can change the setting of Visible by setting it to 0 (invisible) or 1 (visible).
The following command removes the server application window from the
desktop.
h.visible = 0;
h.visible
ans =
0