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

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

[Octave-bug-tracker] [bug #59597] bogus result returned by mexCallMATLAB


From: anonymous
Subject: [Octave-bug-tracker] [bug #59597] bogus result returned by mexCallMATLAB
Date: Wed, 9 Dec 2020 05:28:05 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:68.9) Gecko/20100101 Goanna/4.6 Firefox/68.9 Mypal/28.14.2

Follow-up Comment #21, bug #59597 (project octave):

In DynamicModelCaller using only dlopen/LoadLibrary to load a mex function may
not work. Each mex function requires its own workspace/context to manage its
memory. The function 'call_mex' in 'libinterp/corefcn/mex.cc' shows how the
mex_context (memory manager) works. Instead of loading mex by dlopen calling
the mex by its name and letting Octave to properly find and call the function
I think is a better option. 'addpath' may be needed to help the interpreter to
find the function.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59597>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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