This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

engGetVisible (C)

Determine visibility of MATLAB engine session

C Syntax

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



Engine pointer


Pointer to value returned from engGetVisible


Microsoft Windows Operating Systems Only

0 on success, and 1 otherwise.


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. MATLAB removes an invisible session from the desktop.


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);
Was this topic helpful?