[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave crashes on old MEX-files: how can I detect/prevent this?
From: |
siko1056 |
Subject: |
Re: Octave crashes on old MEX-files: how can I detect/prevent this? |
Date: |
Mon, 5 Dec 2016 02:22:17 -0800 (PST) |
AFAIK, there is no function to check a MEX-file to be valid for usage with a
certain version of Octave. If you want to check in advance whether your
version of Octave can handle a MEX-file, say myfunc.mex, try calling
try
which myfunc
catch(e)
disp("recompile MEX file!")
disp(e.message)
end_try_catch
And you'll get errors in the case, that certain dynamic libraries cannot be
loaded, a necessary condition for this MEX-file to run, but not sufficient.
HTH, Kai
--
View this message in context:
http://octave.1599824.n4.nabble.com/Octave-crashes-on-old-MEX-files-how-can-I-detect-prevent-this-tp4680890p4680891.html
Sent from the Octave - General mailing list archive at Nabble.com.
- Octave crashes on old MEX-files: how can I detect/prevent this?, Julien Bect, 2016/12/05
- Re: Octave crashes on old MEX-files: how can I detect/prevent this?,
siko1056 <=
- Re: Octave crashes on old MEX-files: how can I detect/prevent this?, Julien Bect, 2016/12/05
- Re: Octave crashes on old MEX-files: how can I detect/prevent this?, Mike Miller, 2016/12/05
- Re: Octave crashes on old MEX-files: how can I detect/prevent this?, Julien Bect, 2016/12/06
- Re: Octave crashes on old MEX-files: how can I detect/prevent this?, Sebastian Schöps, 2016/12/06
- Re: Octave crashes on old MEX-files: how can I detect/prevent this?, Mike Miller, 2016/12/06
- Re: Octave crashes on old MEX-files: how can I detect/prevent this?, Julien Bect, 2016/12/07
- Re: Octave crashes on old MEX-files: how can I detect/prevent this?, siko1056, 2016/12/06
- Re: Octave crashes on old MEX-files: how can I detect/prevent this?, Sebastian Schöps, 2016/12/07
- Re: Octave crashes on old MEX-files: how can I detect/prevent this?, Julien Bect, 2016/12/07