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

16 Ansichten (letzte 30 Tage)
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 Kommentar
Tim
Tim am 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.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

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

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by