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 problems with incorrect mex file


From: Rik
Subject: [Octave-bug-tracker] [bug #42614] exist problems with incorrect mex files
Date: Thu, 26 Jun 2014 16:36:47 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0

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

The problem is this line in symbol_exist in variables.cc:


val = safe_symbol_lookup (name);


It might be possible to use a try/catch or unwind_protect around this piece of
code.  I just used try/catch and it seemed to work.

@Richard: Could you run mexext() and see what Matlab returns?  I think for
your case it will return 'mexw32'.  If this is the case, then I would like to
rename the "Hello World" file to "mexfunction.mexw32" and then re-run


exist ('mexfunction', 'file')
exist ('mexfunction.mexw32', 'file')


According to Matlab's own documentation, they shouldn't be parsing the file,
only looking at the extension to determine whether to return 2 or 3.


    _______________________________________________________

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]