MATLAB: Condition on whether or not matlab is running in ‘nodesktop’ mode

nodesktop

is there a way to condition on whether or not I called matlab in 'nodesktop' mode?
Thanks in advance!

Best Answer

Your favorite internet search engine would find this, when you ask for "matlab check nodesktop". I like this forum, but sometimes a tiny web search is much faster.
usejava('desktop')
Related Question