view examples/myhello.c @ 17421:3cf4250cc67e

Hack a fix for changing initial window sizes (bug #39988). * scripts/plot/private/__add_default_menu__.m: Call drawnow() only after at least one uimenu has been added to menubar.
author Rik <rik@octave.org>
date Tue, 10 Sep 2013 09:22:45 -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);
}