Skip to Main Content Skip to Search
Product Documentation

visible - Set whether IDE window appears while IDE runs

Syntax

IDE_Obj.visible(state)

IDEs

This function supports the following IDEs:

Description

Use IDE_Obj.visible(state) to make the IDE visible on the desktop or make it run in the background.

To run the IDE in the background so it is not visible on the desktop, enter '0' for the state argument.

To make the IDE visible on your system desktop, enter '1' for the state argument.

You can use methods to interact with a IDE handle object, such as IDE_Obj, while the IDE is in both states, visible and not visible. You can interact with the IDE GUI while the IDE is visible.

On the Microsoft Windows platform, if you make the IDE visible and look at the Windows Task Manager:

Examples

In MATLAB, use the appropriate constructor function to create a IDE handle object for your IDE. The constructor function creates a handle, such as IDE_Obj, and starts the IDE.

To get the visiblity status of IDE_Obj, enter:

IDE_Obj.isvisible

ans =
     0

Now, change the visibility of the IDE to 1, and check its visibility again.

IDE_Obj.visible(1)
IDE_Obj.isvisible

ans =
     1

If you close MATLAB software while the IDE is not visible, the IDE remains running in the background. To close it, perform either of the following tasks:

See Also

isvisible | load

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

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