Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Student Matlab R2010a from Command Line in Snow Leopard

81 views
Skip to first unread message

Matthew

unread,
Apr 11, 2010, 3:27:03 PM4/11/10
to
I am running Snow Leopard 10.6.3 and have Matlab Student R 2010a.

I need to call matlab from the command line.

When I type

matlab

in X11

I get

bash-3.2$ matlab

matlab: No MATLAB bin directory for this machine architecture.

ARCH = maci64

It appears that Matlab student version only has 32 bit, not 64 bit.

Is there a workaround for this or do I need to buy a year site license.

I qualify for student, but if I had to I could buy the yearly site license at my school (it would cost alot more over 3-4 years though). I don't need it to run in 64 bit mode, I just need it to be called from the command line. Is there something I can put in my .bashrc?

Thank You very much

Doug Schwarz

unread,
Apr 11, 2010, 3:46:21 PM4/11/10
to
In article <hpt7q7$ccr$1...@fred.mathworks.com>,
"Matthew " <mjo...@gmail.com> wrote:


Try starting it with

matlab -maci

to force the 32 bit version to start on the 64 bit OS. I haven't tried
it, but it seems like it should work.

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

Matthew

unread,
Apr 11, 2010, 4:05:05 PM4/11/10
to
"Matthew " <mjo...@gmail.com> wrote in message <hpt7q7$ccr$1...@fred.mathworks.com>...

The solution works, I was actually about to post...When you start the gui version of matlab it sayes -maci, so I used that and it works. Thank you very much.

Matthew

unread,
Apr 11, 2010, 5:47:03 PM4/11/10
to
Doug Schwarz <s...@sig.for.address.edu> wrote in message <see-12F89F.1...@news.frontiernet.net>...

Is there a slick way to setup my .bashrc to so that every time it calls matlab it automatically calls matlab -maci ? I use a program called SCIRun that has a matlab interface and it is graphical. Every time I open one of my nets I would have to go and and manually edit that module, which is painful. I would never use it as anything other than matlab -maci so setting it globally seems like the way to go. I have tried in .bashrc:

export matlab=matlab -maci

But this doesn't work. I will keep searching, but if any unix gurus have a good solution please let me know...

Matthew

unread,
Apr 11, 2010, 5:57:03 PM4/11/10
to
"Matthew " <mjo...@gmail.com> wrote in message <hptg0n$sjk$1...@fred.mathworks.com>...

Figured it out:

alias matlab='matlab -maci'

in your .bashrc

I hope this helps some other folks using Matlab Student Version from the command line...

0 new messages