view examples/myhello.c @ 18654:359581bba58d

maint: Periodic merge of gui-release to default.
author John W. Eaton <jwe@octave.org>
date Fri, 04 Apr 2014 11:41:05 -0400
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);
}