Mercurial > octave-nkf
view examples/code/myhello.c @ 19940:52d2bbf49c92 rc-4-0-0-1
maint: Bump version number for 4.0.0-rc1.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 05 Mar 2015 10:12:26 -0500 |
parents | c8240a60dd01 |
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); }