Mercurial > hg > octave-lyh
view examples/myhello.c @ 17134:327862500f1c
ishold.m: Recode to follow modern Octave coding conventions.
* scripts/plot/ishold.m: Put input validation first. Change error
messages to reference bad input variable by name. Don't use
unnecessary strcmpi when strcmp will work.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 31 Jul 2013 22:28:07 -0700 |
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); }