view examples/myhello.c @ 19601:6a9bde1ba0ea gui-release

Stop using deprecated and removed ghostscript device pswrite (bug #41141) * __ghostscript__.m: Remove references to pswrite device. * __print_parse_opts__.m: Remove references to pswrite device. Change default postscript level to 2. Use device ps2write for -dps and -psc print switches.
author Rik <rik@octave.org>
date Mon, 12 Jan 2015 08:47:12 -0800
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);
}