Problem about Matlab engine

  • Follow


Hi, all

I'm trying to use matlab engine and having some problem about the registration. It always said" 'engwindemo' is not recognized as an internal or external command, 
operable program or batch file. " when I was trying the example. I have set up the PATH enviroment variables right and type 'matlab /regserver' in command line. Is there anyone who met this problem before? 

Thank you,
Xiu
0
Reply Xiu 2/7/2011 7:59:05 PM

"Xiu" wrote in message <iipiu9$fmf$1@fred.mathworks.com>...
> Hi, all
> 
> I'm trying to use matlab engine and having some problem about the registration. It always said" 'engwindemo' is not recognized as an internal or external command, 
> operable program or batch file. " when I was trying the example. I have set up the PATH enviroment variables right and type 'matlab /regserver' in command line. Is there anyone who met this problem before? 
> 
> Thank you,
> Xiu

How did you try to run it? Generally, to run an executable from the MATLAB command prompt you use the bang (!) operator:

!engwindemo

James Tursa
0
Reply James 2/7/2011 10:59:04 PM


"James Tursa" wrote in message <iiptfo$gd6$1@fred.mathworks.com>...
> "Xiu" wrote in message <iipiu9$fmf$1@fred.mathworks.com>...
> > Hi, all
> > 
> > I'm trying to use matlab engine and having some problem about the registration. It always said" 'engwindemo' is not recognized as an internal or external command, 
> > operable program or batch file. " when I was trying the example. I have set up the PATH enviroment variables right and type 'matlab /regserver' in command line. Is there anyone who met this problem before? 
> > 
> > Thank you,
> > Xiu
> 
> How did you try to run it? Generally, to run an executable from the MATLAB command prompt you use the bang (!) operator:
> 
> !engwindemo
> 
> James Tursa

Hi, James

I did run it with that operator. Is there any wawy I can check if Matlab engine is properly installed?

Thanks,
Xiu
0
Reply Xiu 2/9/2011 3:55:05 PM

"Xiu" wrote in message <iiudcp$9ml$1@fred.mathworks.com>...
> "James Tursa" wrote in message <iiptfo$gd6$1@fred.mathworks.com>...
> > "Xiu" wrote in message <iipiu9$fmf$1@fred.mathworks.com>...
> > > Hi, all
> > > 
> > > I'm trying to use matlab engine and having some problem about the registration. It always said" 'engwindemo' is not recognized as an internal or external command, 
> > > operable program or batch file. " when I was trying the example. I have set up the PATH enviroment variables right and type 'matlab /regserver' in command line. Is there anyone who met this problem before? 
> > > 
> > > Thank you,
> > > Xiu
> > 
> > How did you try to run it? Generally, to run an executable from the MATLAB command prompt you use the bang (!) operator:
> > 
> > !engwindemo
> > 
> > James Tursa
> 
> Hi, James
> 
> I did run it with that operator. Is there any wawy I can check if Matlab engine is properly installed?
> 
> Thanks,
> Xiu

I don't think you are even getting that far. MATLAB itself is saying that it can't find the program file engwindemo.exe, so engwindeom isn't even getting started, much less trying to open the Engine. Are you sure it is compiled and in the current directory? e.g., do this:

dir eng*.*

Does engwindemo.exe show up in the list?

James Tursa
0
Reply James 2/9/2011 7:37:03 PM

"James Tursa" wrote in message <iiuqcv$eu1$1@fred.mathworks.com>...
> "Xiu" wrote in message <iiudcp$9ml$1@fred.mathworks.com>...
> > "James Tursa" wrote in message <iiptfo$gd6$1@fred.mathworks.com>...
> > > "Xiu" wrote in message <iipiu9$fmf$1@fred.mathworks.com>...
> > > > Hi, all
> > > > 
> > > > I'm trying to use matlab engine and having some problem about the registration. It always said" 'engwindemo' is not recognized as an internal or external command, 
> > > > operable program or batch file. " when I was trying the example. I have set up the PATH enviroment variables right and type 'matlab /regserver' in command line. Is there anyone who met this problem before? 
> > > > 
> > > > Thank you,
> > > > Xiu
> > > 
> > > How did you try to run it? Generally, to run an executable from the MATLAB command prompt you use the bang (!) operator:
> > > 
> > > !engwindemo
> > > 
> > > James Tursa
> > 
> > Hi, James
> > 
> > I did run it with that operator. Is there any wawy I can check if Matlab engine is properly installed?
> > 
> > Thanks,
> > Xiu
> 
> I don't think you are even getting that far. MATLAB itself is saying that it can't find the program file engwindemo.exe, so engwindeom isn't even getting started, much less trying to open the Engine. Are you sure it is compiled and in the current directory? e.g., do this:
> 
> dir eng*.*
> 
> Does engwindemo.exe show up in the list?
> 
> James Tursa

Thanks, I didn't notice that it is not complied. 
0
Reply Xiu 2/9/2011 9:43:05 PM

4 Replies
280 Views

(page loaded in 0.066 seconds)

Similiar Articles:













7/14/2012 12:43:13 PM


Reply: