view test/mex/bug_51725.c @ 30949:7d99816e9709 stable

ls.m: Improve wording in docstring (bug #62282).
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 21 Apr 2022 17:52:31 +0200
parents e255f09dc70e
children
line wrap: on
line source

#include "mex.h"

void mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
{
  if (nlhs > 0)
    plhs[0] = mxCreateDoubleMatrix (0, 0, mxREAL);

  if (nlhs > 2)
    plhs[2] = mxCreateDoubleMatrix (0, 0, mxREAL);
}