Determine whether MATLAB was launched from OS GUI or as a Parallel Toolbox thread -


In a similar style, there is a way to determine whether a given MATLAB example was started by the user. Or not created by parallel toolbox scheduler?

Warning: untested code

looks like That this can do the trick:

  If the% getCurrentWorker works% then the work is launched as a worker% then the GUI starts at the end of the session. / Code>  

Here is the reference:

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -