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:
Traps of changing path; need for reworking path dialog

Subject: Traps of changing path; need for reworking path dialog

From: Eric LePage

Date: 14 Dec, 2009 13:04:04

Message: 1 of 2

I have a secondary folder where I keep all my personal m files etc etc. I decided to add it to my path with subfolders. After it turned out that there was a ridiculous number of subfolders, while they were still highlighted (gray) I clicked on "Remove" thinking I'd be more selective. Nothing obvious happened. No rotating circle, no hour glass. I tried to undo. Nothing responded. So I decided to cancel out and not save the path file... TRAP! I clicked on the option "No" to Save path changes. Evidently it didn't even save the original path listing. The result is that Matlab has gone troppo. Java error notice, which to the end user invariably translates to "blah blah blah". I couldn't do anything -- not even quit. I had to go into Windows task manager and kill the process. There may be a quick fix, but the quickest fix for me seems like it may be to reinstall Matlab.... ho
hum... bang goes another night. Any clues, I'd appreciate it.

Subject: Traps of changing path; need for reworking path dialog

From: Jan Simon

Date: 14 Dec, 2009 16:58:01

Message: 2 of 2

Dear Eric!

> I have a secondary folder where I keep all my personal m files etc etc. I decided to add it to my path with subfolders. After it turned out that there was a ridiculous number of subfolders, while they were still highlighted (gray) I clicked on "Remove" thinking I'd be more selective. Nothing obvious happened. No rotating circle, no hour glass. I tried to undo. Nothing responded. So I decided to cancel out and not save the path file... TRAP! I clicked on the option "No" to Save path changes. Evidently it didn't even save the original path listing. The result is that Matlab has gone troppo. Java error notice, which to the end user invariably translates to "blah blah blah". I couldn't do anything -- not even quit. I had to go into Windows task manager and kill the process. There may be a quick fix, but the quickest fix for me seems like it may be to reinstall Matlab....
ho
> hum... bang goes another night. Any clues, I'd appreciate it.

What is your question?

Do you look for RESTOREDEFAULTPATH to restore the default paths?
If so, change to matlabroot/toolbox/local/ and start it. As far as I can see, RESTOREDEFAULTPATH does not call other toolbox functions - a sophistoicated idea of the MathWorks team :-)

Good luck, Jan

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