octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #42614] exist returns 3 for 'mexfunction', but


From: Richard
Subject: [Octave-bug-tracker] [bug #42614] exist returns 3 for 'mexfunction', but 2 for 'mexfunction.mex'
Date: Thu, 26 Jun 2014 14:01:02 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20100101 Firefox/17.0

Follow-up Comment #7, bug #42614 (project octave):

Just to update, on ML I ge the following result

mexfunction.mex
---------------
Hello World

---------------

mexfunction2.mex
---------------
#include "mex.h"

/* the gateway function */
void mexFunction( int nlhs, mxArray *plhs[],
int nrhs, const mxArray *prhs[])
{

plhs[0] = mxCreateDoubleScalar(1.0);

} 
---------------


>> exist ('mexfunction.mex', 'file')

ans =

     2.0000e+000

>> exist ('mexfunction', 'file')

ans =

     0.0000e+000

>> exist ('mexfunction2', 'file')

ans =

     3.0000e+000

>> exist ('mexfunction2.mexw32', 'file')

ans =

     3.0000e+000

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42614>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]