i calling java function matlab (start.m), starts gui. want make sure if user calls start.m again, while instance of application runnning should throw warning. can assign processname thread starts matlab? how can achieved?
matlab single threaded.
what using singleton pattern in gui constructor prohibit multiple instances. may display warning message within gui.
another option global variable set in startup.m
.
Comments
Post a Comment