Mercurial > octave-libgccjit
view examples/myhello.c @ 18949:d5db1019ad4a
load-save.cc: Return string rather printing to octave_stdout
author | Andreas Weber <andy.weber.aw@gmail.com> |
---|---|
date | Mon, 21 Jul 2014 18:27:10 +0200 |
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); }