engGetVisible (C) - Determine visibility of MATLAB engine session

C Syntax

#include "engine.h"
int engGetVisible(Engine *ep, bool *value);

Arguments

ep

Engine pointer

value

Pointer to value returned from engGetVisible

Returns

Microsoft Windows Operating Systems Only

0 on success, and 1 otherwise.

Description

engGetVisible returns the current visibility setting for MATLAB engine session, ep. A visible engine session runs in a window on the Windows desktop, thus making the engine available for user interaction. An invisible session is hidden from the user by removing it from the desktop.

Examples

The following code opens engine session ep and disables its visibility.

Engine *ep;
bool vis;

ep = engOpen(NULL);
engSetVisible(ep, 0);

To determine the current visibility setting, use:

engGetVisible(ep, &vis);

See Also

engSetVisible

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS