> What should be passed as cblock, if the library is > initialized from C code? Calling it with NULL obviously > causes a SEGV... What I do in my MATLAB interface is not calling directly the init function, but using the read_VV, which takes care of calling the init function with the right arguments, like: read_VV(OBJNULL, init_MYMODULE); Michael.