I currently have 7 instances of MATLAB open on my PC running long simulations. They are all running the same functions with different inputs. To ensure there is no accidental interaction between instances I have temporary folders that each instance uses for data input and output before saving the final result elsewhere. I currently input an instance value (1-7) by hand for each MATLAB instance to tell them apart but can I get MATLAB to work out which instance it is automatically?
MATLAB: How to detect which instance of MATLAB I am working from
multiple instances
Best Answer