Hi

I'm using OSG in a small simulation program and I'm trying to use Simulink to 
control the simulation. The code compiles into a MEX-file without any problems 
and calling it from the MatLab command prompt runs it all right. The problem is 
when I use OSG classes in an S-function, and only if I store the pointers in 
ref_ptr's, that is, using ref_ptr's returns NULLs. But not using ref_ptr's 
makes cleaning up almost impossible (or something, right?).
So would anyone know both S-functions and OSG well enough to know what's going 
on and how to fix it?

BTW, I'm using MatLab 7.8 (r2009a) and OSG 2.8.2 on Windows Vista 32-bit...

Thanks
Xibbler

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=29552#29552





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to