Mercurial > octave-dspies
view examples/myhello.c @ 19007:4f0d0b212fd6 draft
WIP
author | David Spies <dnspies@gmail.com> |
---|---|
date | Wed, 11 Jun 2014 16:59:46 -0600 |
parents | be41c30bcb44 |
children |
line wrap: on
line source
#include "mex.h" void mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) { mexPrintf ("Hello, World!\n"); mexPrintf ("I have %d inputs and %d outputs\n", nrhs, nlhs); }