How can I close volumeViewer with a command in script? (close all does not close volumeViewer windows)

17 views (last 30 days)
Hello, I am working on a code to analyze 3D biofilms from confocal analysis - generated tiff image stacks. Just because I'm lazy, I would like to be able to close out of all figures at the beginning of my program and not have to manually exit out of any windows each time. I've noticed that the close all command doesn't exit out of volumeViewer windows, so is there another command I could use to accomplish this?
Thank you
  1 Comment
Tim
Tim on 25 Nov 2020
volshow() uses the same volume renderer as volumeViewer but gives you much more flexibility for integration in custom code - have you tried visualizing with volshow instead? Close should work with figures containing volshow objects.

Sign in to comment.

Accepted Answer

Kiran Felix Robert
Kiran Felix Robert on 17 Dec 2020
Hi Zachary,
You can close the volumeViewer app by using the following command
volumeViewer close;
Refer the Volume Viewerdocumentation for more information.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!