Thread Subject:
preventing multiple instances of matlab

Subject: preventing multiple instances of matlab

From: Kevin Brownhill

Date: 1 Dec, 2008 17:34:01

Message: 1 of 6

I give up with this one! When double-clicking on a fig file, a new instance of matlab starts, even though matlab is already running, and the fig file doesn't open. This is not very useful. Anyone know how to prevent this?
Thanks

Subject: preventing multiple instances of matlab

From: Guoliang Zhang

Date: 1 Dec, 2008 18:40:09

Message: 2 of 6

I thought this has been the old behavior. since 2007x ML will open the file
using the existing ML session. What version of ML you have?

HTH

GZ

"Kevin Brownhill" <kevin.brownhill_JUNKFILTER@kcl.ac.uk> wrote in message
news:gh1769$8kj$1@fred.mathworks.com...
>I give up with this one! When double-clicking on a fig file, a new instance
>of matlab starts, even though matlab is already running, and the fig file
>doesn't open. This is not very useful. Anyone know how to prevent this?
> Thanks

Subject: preventing multiple instances of matlab

From: Kevin Brownhill

Date: 4 Dec, 2008 11:12:01

Message: 3 of 6

Hi Gouliang,

Thanks for your response. This was using R2008a. I might try a reinstall & see if it solves it.

Thanks,

Kevin

"Guoliang Zhang" <zhangl@mathworks.com> wrote in message <gh1b27$ric$1@fred.mathworks.com>...
> I thought this has been the old behavior. since 2007x ML will open the file
> using the existing ML session. What version of ML you have?
>
> HTH
>
> GZ
>
> "Kevin Brownhill" <kevin.brownhill_JUNKFILTER@kcl.ac.uk> wrote in message
> news:gh1769$8kj$1@fred.mathworks.com...
> >I give up with this one! When double-clicking on a fig file, a new instance
> >of matlab starts, even though matlab is already running, and the fig file
> >doesn't open. This is not very useful. Anyone know how to prevent this?
> > Thanks
>

Subject: preventing multiple instances of matlab

From: John Peterson

Date: 20 Aug, 2011 10:51:08

Message: 4 of 6

> Thanks for your response. This was using R2008a. I might try a reinstall & see if it solves it.

You don't need to resintall Matlab. This command http://www.mathworks.com/help/techdoc/matlab_env/rmvd_matlablink__14.html will associate .m files so that a new Matlab instance is not created.

Subject: preventing multiple instances of matlab

From: karthik

Date: 22 Apr, 2012 14:36:09

Message: 5 of 6

"Kevin Brownhill" <kevin.brownhill_JUNKFILTER@kcl.ac.uk> wrote in message <gh1769$8kj$1@fred.mathworks.com>...
> I give up with this one! When double-clicking on a fig file, a new instance of matlab starts, even though matlab is already running, and the fig file doesn't open. This is not very useful. Anyone know how to prevent this?
> Thanks

Type the following in MATLAB help: "Utilities to Set Up File Associations on Windows Platforms". some links will be provided under this heading. click appropriate link.*.fig file will open and without multiple instances of MATLAB opening

Subject: preventing multiple instances of matlab

From: farhad

Date: 8 Aug, 2012 23:44:12

Message: 6 of 6

I followed the instructions in the following link :http://www.mathworks.com/support/solutions/en/data/1-D9IA82/?solution=1-D9IA82 but still I had the multiple instances running when I was clicking on an m file at different directories in windows 7. However, I used another trick that worked fine:
Go to matlalbroot directory (your matlab installation folder), then go to toolbox\local folder. There, you'll find an m file named "pathdef.m". Right click on the file and from the properties go to the security tab. Click on "edit" and then "add" and add a user as "Everyone". Click ok and then apply. Restart matlab and the problem is gone.
This solved the problem for me.

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

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.

Tag Activity for This Thread
Tag Applied By Date/Time
open fig file Kevin Brownhill 1 Dec, 2008 12:35:05
multiple instances Kevin Brownhill 1 Dec, 2008 12:35:04
rssFeed for this Thread

Contact us