|
| From: | Richard |
| Subject: | [Octave-bug-tracker] [bug #42614] exist returns 3 for 'mexfunction', but 2 for 'mexfunction.mex' |
| Date: | Wed, 25 Jun 2014 20:14:26 +0000 |
| User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0 |
Follow-up Comment #2, bug #42614 (project octave):
Apparently not, I created a text file containing just "Hello World" in the
current irectory and got
>> exist ('mexfunction')
ans = 3
>> exist ('mexfunction.mex')
ans = 2
I then made a trivial mex function:
-----
#include "mex.h"
/* the gateway function */
void mexFunction( int nlhs, mxArray *plhs[],
int nrhs, const mxArray *prhs[])
{
plhs[0] = mxCreateDoubleScalar(1.0);
}
-----
and get
>> mexfunction2
ans = 1
>> exist ('mexfunction2')
ans = 3
>> exist ('mexfunction2.mex')
ans = 2
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?42614>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |