help-octave
[Top][All Lists]
Advanced

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

Re: mkoctfile problems with Octave 3.4.0, OSX 10.6.7


From: Julien Salort
Subject: Re: mkoctfile problems with Octave 3.4.0, OSX 10.6.7
Date: Fri, 22 Apr 2011 09:57:39 +0200

Le 21 avr. 2011 à 21:28, Scott Wardle a écrit :

> Hi Julien,
> 
> Attached is the .c source file that I wish to compile as a .mex.

Apparently, it works if you compile it from the command line rather than from 
octave [1]:
% mkoctfile --mex bitparitycheck.c

That's weird because "pkg install" works from octave...

[1] to do this, you need to add /Applications/Octave.app/Contents/Resources/bin 
to you PATH environment variable, ie.
% export PATH="/Applications/Octave.app/Contents/Resources/bin:$PATH"


Julien

reply via email to

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