Close IJM ImageJ Instance in Matlab

Dear Forum,
referring to this “known issue”:


Particularly to:

  • At the moment, there isn’t an explicit way to quit the ImageJ instance from MATLAB (If you find a way, please report to ImageJ forum).

is it a too easy and not complete solution simply launch from matlab this:

ij.IJ.run("Quit","");

it quits for sure from ImageJ but I am not sure it fully closes the ImageJ instance.

Have a nice day,
Emanuele