|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #59597] bogus result returned by mexCallMATLAB |
Date: | Fri, 4 Dec 2020 21:11:53 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36 |
Follow-up Comment #7, bug #59597 (project octave): Question #1: Is there any variability about when the mex file fails? For example, does it occasionally fail on the second invocation or occasionally on the fourth invocation or is it always *exactly* the third? Question #2: Can you try putting a keyboard command at the bottom of the m-file. Then call your code normally. When the interpreter stops in the m-file, inspect the variables to see if there is any thing wrong with them at the interpreter level. Question #3: In the mex file, could you add this line to the start of the function? mexSetTrapFlag (0); This should ensure that if something goes wrong with the call to feval() that an error is thrown. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?59597> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |