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:
cleaning up MATLAB path list

Subject: cleaning up MATLAB path list

From: Daphne

Date: 2 Mar, 2010 08:13:23

Message: 1 of 7


(Using ML 2007b) I have a long list of MATLAB pathways in the drop down list. Some refer to folders that no longer exist.
Is there any way to clear that list?

Thanks!
Daphne

Subject: cleaning up MATLAB path list

From: Jan Simon

Date: 2 Mar, 2010 10:21:04

Message: 2 of 7

Dear Daphne!

> (Using ML 2007b) I have a long list of MATLAB pathways in the drop down list. Some refer to folders that no longer exist.
> Is there any way to clear that list?

Get the list as cell string C. Then:
  valid = true(size(C));
  for iC = 1:numel(C)
    valid = exist(C{iC}, 'dir');
  end
CleanC = C(valid);

Good luck, Jan

Subject: cleaning up MATLAB path list

From: Phuong

Date: 2 Mar, 2013 23:58:05

Message: 3 of 7

"Jan Simon" wrote in message <hmioqg$oa4$1@fred.mathworks.com>...
> Dear Daphne!
>
> > (Using ML 2007b) I have a long list of MATLAB pathways in the drop down list. Some refer to folders that no longer exist.
> > Is there any way to clear that list?
>
> Get the list as cell string C. Then:
> valid = true(size(C));
> for iC = 1:numel(C)
> valid = exist(C{iC}, 'dir');
> end
> CleanC = C(valid);
>
> Good luck, Jan


Jan really complicated things. Just go to file --> preferences --> current directory... and do the thing you want.

Subject: cleaning up MATLAB path list

From: Daphne

Date: 3 Mar, 2013 05:33:09

Message: 4 of 7


Wow, Magic :)
I had given up, but was worth the wait. Thanks!

Daphne

"Phuong" wrote in message <kgu3md$1io$1@newscl01ah.mathworks.com>...
> "Jan Simon" wrote in message <hmioqg$oa4$1@fred.mathworks.com>...
> > Dear Daphne!
> >
> > > (Using ML 2007b) I have a long list of MATLAB pathways in the drop down list. Some refer to folders that no longer exist.
> > > Is there any way to clear that list?
> >
> > Get the list as cell string C. Then:
> > valid = true(size(C));
> > for iC = 1:numel(C)
> > valid = exist(C{iC}, 'dir');
> > end
> > CleanC = C(valid);
> >
> > Good luck, Jan
>
>
> Jan really complicated things. Just go to file --> preferences --> current directory... and do the thing you want.

Subject: cleaning up MATLAB path list

From: Jan Simon

Date: 4 Mar, 2013 15:20:08

Message: 5 of 7

Hi,

I forgot the index:

> valid = exist(C{iC}, 'dir');
       valid(iC) = exist(C{iC}, 'dir');
 
Good luck, Jan

Subject: cleaning up MATLAB path list

From: ATHIESH KUMAR

Date: 23 May, 2013 04:25:13

Message: 6 of 7

Just go to file --> preferences --> current directory--> clear history

and you can also set no. of path limit in the same column


--TAK

Subject: cleaning up MATLAB path list

From: pravin

Date: 25 Mar, 2014 17:48:09

Message: 7 of 7

"ATHIESH KUMAR " <athiesh.44@gmail.com> wrote in message <knk5n9$ffq$1@newscl01ah.mathworks.com>...
> Just go to file --> preferences --> current directory--> clear history
>
> and you can also set no. of path limit in the same column
>
>
> --TAK

Thanks Mr.Thiesh Kumar..I search for this short cut only ...

Tags for 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