Thread Subject: engdemo.c program: can't start matlab engine

Subject: engdemo.c program: can't start matlab engine

From: Mohammad Hasan

Date: 20 Jan, 2008 12:57:01

Message: 1 of 4

I was trying to run the engdemo.c program in ubuntu OS
It compiled fine, but can't start the matlab engine. It just
print the msg:

Can't start Matlab Engine.

My matlab works fine from command prompt, just by typing
matlab and the LD_LIBRARY_PATH is also defined perfectly.

Can any one help me please. Thank you very mush for your
help.

-Hasan

Subject: engdemo.c program: can't start matlab engine

From: Mohammad Hasan

Date: 22 Jan, 2008 21:45:05

Message: 2 of 4

Hello,

I solved my problem by contacting Matlab technical support
team. The problem is that you need to have C shell installed
in your system as /bin/csh for the matlab engine program
to function correctly. You can use any shell, but just that
C shell has to be there in the system so that the engine
program can use it.

Once I had installed csh, everything is working fine.
Just letting you know, in case anyone encounters same
problem.

Thanks to all who had viewed the thread.
-Hasan

"Mohammad Hasan" <Mohammad.Hasan@mathworks.com> wrote in
message <fmvget$a76$1@fred.mathworks.com>...
> I was trying to run the engdemo.c program in ubuntu OS
> It compiled fine, but can't start the matlab engine. It just
> print the msg:
>
> Can't start Matlab Engine.
>
> My matlab works fine from command prompt, just by typing
> matlab and the LD_LIBRARY_PATH is also defined perfectly.
>
> Can any one help me please. Thank you very mush for your
> help.
>
> -Hasan

Subject: engdemo.c program: can't start matlab engine

From: Bill

Date: 24 Jan, 2008 15:27:02

Message: 3 of 4

OK, how do I go about installing the C shell as /bin/csh?

TIA

Bill




"Mohammad Hasan" <Mohammad.Hasan@mathworks.com> wrote in
message <fn5o51$smt$1@fred.mathworks.com>...
> Hello,
>
> I solved my problem by contacting Matlab technical support
> team. The problem is that you need to have C shell
installed
> in your system as /bin/csh for the matlab engine program
> to function correctly. You can use any shell, but just
that
> C shell has to be there in the system so that the engine
> program can use it.
>
> Once I had installed csh, everything is working fine.
> Just letting you know, in case anyone encounters same
> problem.
>
> Thanks to all who had viewed the thread.
> -Hasan
>
> "Mohammad Hasan" <Mohammad.Hasan@mathworks.com> wrote in
> message <fmvget$a76$1@fred.mathworks.com>...
> > I was trying to run the engdemo.c program in ubuntu OS
> > It compiled fine, but can't start the matlab engine. It
just
> > print the msg:
> >
> > Can't start Matlab Engine.
> >
> > My matlab works fine from command prompt, just by typing
> > matlab and the LD_LIBRARY_PATH is also defined
perfectly.
> >
> > Can any one help me please. Thank you very mush for your
> > help.
> >
> > -Hasan
>

Subject: engdemo.c program: can't start matlab engine

From: Mohammad Hasan

Date: 25 Jan, 2008 17:14:02

Message: 4 of 4

In ubuntu, just do:

sudo apt-get install csh. By default c-shell is installed
in /bin/csh.

Hasan


"Bill " <john.doe.nospam@mathworks.com> wrote in message
<fnaao6$shb$1@fred.mathworks.com>...
> OK, how do I go about installing the C shell as /bin/csh?
>
> TIA
>
> Bill
>
>
>
>
> "Mohammad Hasan" <Mohammad.Hasan@mathworks.com> wrote in
> message <fn5o51$smt$1@fred.mathworks.com>...
> > Hello,
> >
> > I solved my problem by contacting Matlab technical support
> > team. The problem is that you need to have C shell
> installed
> > in your system as /bin/csh for the matlab engine program
> > to function correctly. You can use any shell, but just
> that
> > C shell has to be there in the system so that the engine
> > program can use it.
> >
> > Once I had installed csh, everything is working fine.
> > Just letting you know, in case anyone encounters same
> > problem.
> >
> > Thanks to all who had viewed the thread.
> > -Hasan
> >
> > "Mohammad Hasan" <Mohammad.Hasan@mathworks.com> wrote in
> > message <fmvget$a76$1@fred.mathworks.com>...
> > > I was trying to run the engdemo.c program in ubuntu OS
> > > It compiled fine, but can't start the matlab engine. It
> just
> > > print the msg:
> > >
> > > Can't start Matlab Engine.
> > >
> > > My matlab works fine from command prompt, just by typing
> > > matlab and the LD_LIBRARY_PATH is also defined
> perfectly.
> > >
> > > Can any one help me please. Thank you very mush for your
> > > help.
> > >
> > > -Hasan
> >
>

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
engdemo Francesc Iu Rillo Moral 29 Sep, 2011 08:55:45
matlab external... Francesc Iu Rillo Moral 29 Sep, 2011 08:55:41
csh Mohammad Hasan 22 Jan, 2008 16:50:06
engdemo Mohammad Hasan 20 Jan, 2008 07:59:58
matlab and c Mohammad Hasan 20 Jan, 2008 07:59:58
matlab external... Mohammad Hasan 20 Jan, 2008 07:59:58
rssFeed for this Thread

Contact us at files@mathworks.com