Mercurial > octave
view examples/myhello.c @ 18478:3c1a28978599 stable
install config.log in $octetc directory
* Makefile.am (octetc_DATA): Include config.log in the list.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 17 Feb 2014 02:28:31 -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); }