Main Content

isOpen

Visible or hidden status for player

Description

example

isOpen(player) returns true or false to indicate whether the player is visible.

Examples

collapse all

Close the display of continuous point cloud player

Add data to the point cloud player.

player = pcplayer([0 1],[0 1],[0 1]);

Display continuous player figure. Use the isOpen method to check if player figure window is open.

  while isOpen(player)
     ptCloud = pointCloud(rand(1000,3,'single'));
     view(player, ptCloud);
  end

Terminate the while-loop by closing pcplayer figure window.

Input Arguments

collapse all

Video player, specified as a pcplayer, or vision.DeployableVideoPlayer object.

Version History

Introduced in R2012a