Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Possible Problems with Multiple Instances of Matlab on One PC

Subject: Possible Problems with Multiple Instances of Matlab on One PC

From: David Blackwell

Date: 21 May, 2012 21:20:09

Message: 1 of 3

I run multiple instances of Matlab 2009A because the customer requires the use of this version and because I have 1005 simulation runs that, if run sequentially, takes about 200 hours on a quad-core machine. I can significantly reduce the amount of time if I run three instances on the one PC, but I find that the results of multiple instances versus one instance are different.
Does Matlab have a problem handling identical variable names and identical file names on the same computer when running multiple instances?

Subject: Possible Problems with Multiple Instances of Matlab on One PC

From: Bruno Luong

Date: 21 May, 2012 21:49:07

Message: 2 of 3

"David Blackwell" <david.blackwell@parker.com> wrote in message <jpebi9$f2t$1@newscl01ah.mathworks.com>...
>
> Does Matlab have a problem handling identical variable names

No because they are living in different universes.

>and identical file names on the same computer when running multiple instances?

Possibly yes if they are concurrently accessed without guarding for conflict. All depends how you are doing with them.

I do regularly simulations on different sessions and/or different machines. So far I never have problem when merging the results.

Bruno

Subject: Possible Problems with Multiple Instances of Matlab on One PC

From: Paramonte

Date: 22 May, 2012 08:49:07

Message: 3 of 3

For me looks like you must have different initialization variables in the two matlab instances, for instance if I run wavelets in two instances I get different values if the startups say different configuration like zero padding etc

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us