view examples/myhello.c @ 18948:64173c377a6b

meshz.m: Overhaul for Matlab compatibility. * meshz.m: Accept optional property/value pairs to pass to surface object. Use the same scheme as Matlab for creating the curtain around the border so the visual results are the same.
author Rik <rik@octave.org>
date Mon, 21 Jul 2014 08:41:42 -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);
}