help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave Problems


From: Tatsuro MATSUOKA
Subject: Re: Octave Problems
Date: Mon, 24 May 2010 10:31:05 +0900 (JST)

Hello

> I have octave on Windows installed using binary from
> http://octave.sourceforge.net/. There are following problems:
> 1) When I compile any program like
> 
> mkoctfile --mex func.c
> and then try to use func on command line it won't recognize and I will need
> to restart octave then it will work out.

For me, built mex file can be execute without restart octave-3.2.4/mingw32. 
(win xp pro sp3).
octave.exe:1> mkoctfile --mex firstmexdemo.c
octave.exe:2> firstmexdemo()
ans =  1.2346

I have used firstmexdemo.c in the octave manual (Appendix A Dynamically Linked 
Functions, A.2.1
Getting Started with Mex-Files)
I suspect that the oct2mat affects mex execution, however it seems not to be 
the origin of your
trouble.

At least, what you met are not general phenomena of octave-3.2.4/mingw32.  I 
cannot commit your issue
because I cannot reproduce the issue

Regards

Tatsuro    
--- Salil Jain wrote:

> 
> 2) If I use func on commandline I can't recompile it with mkoctfile, as it
> would not have permission to modify mex file. I have to restart octave to
> compile again.
> 
> 3) Its 10 times slower than Matlab on some of my scripts. Most probably its
> because of the MinGW compiled version? or it can't be decided without
> looking at the script.
> 
> Thanks
> > _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
> 


--------------------------------------
2010 FIFA World Cup News [Yahoo!Sports/sportsnavi]
http://pr.mail.yahoo.co.jp/southafrica2010/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]