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

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com