Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.


Math Forum
»
Discussions
»
Software
»
comp.softsys.matlab
Notice: We are no longer accepting new posts, but the forums will continue to be readable.
Topic:
Making C++ objects persistent between mex calls, and robust.
Replies:
38
Last Post:
Aug 5, 2017 8:06 PM




Re: Making C++ objects persistent between mex calls, and robust.
Posted:
Jan 22, 2011 4:42 PM


"newuser asdf" wrote in message <ihfg77$hdg$1@fred.mathworks.com>...
> > Can someone give me any suggestion how I can solve this problem, please?
For the first look, it smells very fishy they way you convert pointer value (64 bit int) to double back and forth. Are you sure it works (the pointer is not altered when arrived in the second Mex)?
Bruno



