Condition on whether or not matlab is running in 'nodesktop' mode

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

 Accepted 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')

1 Comment

Thanks very much, spent a long time searching but didn't didn't use the right term!

Sign in to comment.

More Answers (0)

Categories

Tags

Asked:

on 13 Apr 2015

Commented:

on 14 Apr 2015

Community Treasure Hunt

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

Start Hunting!