Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.
octave-3.2.4:1> mkoctfile --mex myhello.c
sh: 1: /usr/bin/mkoctfile-3.2.4: not found
warning: unable to find mkoctfile in expected location: `/usr/bin/mkoctfile-3.2.4'
warning: mkoctfile exited with failure status

i have searched for mkoctfile and i found it in this path

/usr/share/octave/3.2.4/m/miscellaneous/mkoctfile.m

now please tell me what i should do to create mex file

share|improve this question

1 Answer 1

I figured out that header files where missing . So i installed header files from Ubuntu software center . just type mkoctfile in search and install Header files for the GNU octave language (3.2 branch) now i can complile .mex files using the command mkoctfile --mex myhello.c

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.