Mercurial > octave-nkf
view examples/myfunc.c @ 19536:97c9ba013ed1
configure.ac: Add --without-portaudio and --without-sndfile options
* configure.ac: Add --without-portaudio and --without-sndfile options to
bypass checking for audio library dependencies.
author | Mike Miller <mtmiller@ieee.org> |
---|---|
date | Wed, 02 Oct 2013 00:14:09 -0400 |
parents | be41c30bcb44 |
children | 224e76250443 |
line wrap: on
line source
#include "mex.h" void mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) { const char *nm; nm = mexFunctionName (); mexPrintf ("You called function: %s\n", nm); if (strcmp (nm, "myfunc") == 0) mexPrintf ("This is the principal function\n", nm); return; }