view examples/myhello.c @ 18977:7761c281aac0 gui-release

fix botched merge
author John W. Eaton <jwe@octave.org>
date Fri, 01 Aug 2014 14:06:35 -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);
}