view examples/myhello.c @ 18154:20f2b3c48c4c stable

intmax, intmin: Fix default integer type in docstrings * bitfcns.cc (Fintmax, Fintmin): Fix default integer type in docstrings.
author Mike Miller <mtmiller@ieee.org>
date Fri, 20 Dec 2013 00:26:00 -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);
}