Mercurial > hg > octave-lyh
view examples/firstmexdemo.c @ 14542:bf219932bf3e
doc: Increase seealso references between paging functions.
* pager.cc (Fmore, Fpage_output_immediately, Fpage_screen_output, FPAGER,
FPAGER_FLAGS): Add seealso references between these functions.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Mon, 09 Apr 2012 17:59:38 -0700 |
parents | 6cb30a539481 |
children |
line wrap: on
line source
#include "mex.h" void mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) { mxArray *v = mxCreateDoubleMatrix (1, 1, mxREAL); double *data = mxGetPr (v); *data = 1.23456789; plhs[0] = v; }