MATLAB: How to close volumeViewer with a command in script? (close all does not close volumeViewer windows)

volume viewervolumeviewer

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

Best Answer

Hi Zachary,
You can close the volumeViewer app by using the following command
volumeViewer close;
Refer the Volume Viewerdocumentation for more information.