Got Questions? Get Answers.
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:
~./MaxOSX/environment.plist not loaded?

Subject: ~./MaxOSX/environment.plist not loaded?

From: Michael

Date: 11 May, 2009 23:44:03

Message: 1 of 6

Hi,

I saw a post in the KB that to set environment vars for a matlab session that's launced from the Finder, I should change ~./MacOSX/environment.plist. I've done this but the changes aren't showing up, even after logging out and back in. I can set env vars from a Terminal shell and they show up in Matlab when launched from that shell. Any ideas?

Thanks,
Michael

Subject: ~./MaxOSX/environment.plist not loaded?

From: Brian Arnold

Date: 12 May, 2009 13:55:19

Message: 2 of 6

Move the dot (.) after the slash (the folder should be a hidden folder
name beginning with a dot, ".MacOSX").

- Brian

Michael wrote:
> Hi,
>
> I saw a post in the KB that to set environment vars for a matlab session that's launced from the Finder, I should change ~./MacOSX/environment.plist. I've done this but the changes aren't showing up, even after logging out and back in. I can set env vars from a Terminal shell and they show up in Matlab when launched from that shell. Any ideas?
>
> Thanks,
> Michael

Subject: ~./MaxOSX/environment.plist not loaded?

From: Michael

Date: 12 May, 2009 15:26:01

Message: 3 of 6

Brian Arnold <Brian.Arnold@mathworks.com> wrote in message <4A097FC7.5080004@mathworks.com>...
> Move the dot (.) after the slash (the folder should be a hidden folder
> name beginning with a dot, ".MacOSX").
>
> - Brian

Thanks, but that was just a typo. I have it correctly as ~/.MacOSX/environment.plist and it's not loaded by Matlab.

I'm running ML 2008b on OSX 10.5.6, BTW.

Cheers

Subject: ~./MaxOSX/environment.plist not loaded?

From: Doug Schwarz

Date: 12 May, 2009 15:49:06

Message: 4 of 6

In article <guc4e9$pph$1@fred.mathworks.com>,
 "Michael" <michael@circular-logic.com> wrote:

> Brian Arnold <Brian.Arnold@mathworks.com> wrote in message
> <4A097FC7.5080004@mathworks.com>...
> > Move the dot (.) after the slash (the folder should be a hidden folder
> > name beginning with a dot, ".MacOSX").
> >
> > - Brian
>
> Thanks, but that was just a typo. I have it correctly as
> ~/.MacOSX/environment.plist and it's not loaded by Matlab.
>
> I'm running ML 2008b on OSX 10.5.6, BTW.
>
> Cheers


Please post your environment.plist file. Perhaps it is faulty.

--
Doug Schwarz
dmschwarz&ieee,org
Make obvious changes to get real email address.

Subject: ~./MaxOSX/environment.plist not loaded?

From: Michael

Date: 12 May, 2009 16:30:04

Message: 5 of 6

>
> Please post your environment.plist file. Perhaps it is faulty.
>
> --
> Doug Schwarz
> dmschwarz&ieee,org
> Make obvious changes to get real email address.

Hi,

Here are the contents, created using Property List Editor:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>TEST_ENV_PLIST</key>
<string>/Volumes</string>
</dict>
</plist>

Thanks,
Michael

Subject: ~./MaxOSX/environment.plist not loaded?

From: Doug Schwarz

Date: 12 May, 2009 19:24:59

Message: 6 of 6

In article <guc86c$d4c$1@fred.mathworks.com>,
 "Michael" <michael@circular-logic.com> wrote:

> >
> > Please post your environment.plist file. Perhaps it is faulty.
> >
> > --
> > Doug Schwarz
> > dmschwarz&ieee,org
> > Make obvious changes to get real email address.
>
> Hi,
>
> Here are the contents, created using Property List Editor:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
> "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
> <plist version="1.0">
> <dict>
> <key>TEST_ENV_PLIST</key>
> <string>/Volumes</string>
> </dict>
> </plist>
>
> Thanks,
> Michael


Hmm, that looks okay to me. Sorry I can't be of more help.

--
Doug Schwarz
dmschwarz&ieee,org
Make obvious changes to get real email address.

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