flag whether or not a program has been called by createTask
Ältere Kommentare anzeigen
I run certain jobs either as standalone jobs, or in parallel, for example called by createTask. Is there some way to distinguish between these cases? obviously I could use brute force, use dbstack and related tools and check if the calling line had the word createTask in it, but I'd much prefer to do something more general/elegant. Since one can interact with programs in the former case, but not the latter, there must be something matlab knows that I can tap into...
Thanks very much for any help!
Leo
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Job and Task Creation finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!