Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
|
|
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
|
|
|
|