view examples/myhello.c @ 18487:8473198fd005

maint: Periodic merge of gui-release to default.
author John W. Eaton <jwe@octave.org>
date Tue, 18 Feb 2014 02:51:48 -0500
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);
}