Hi
i'm experiencing a similar problem: i'm trying to build a dll from a .mdl that contains a s-function block.
how did you wite the wrapper for the s-function?
i tried writng a .tlc file, with the line: "%CallAsCMexLevel1" , that has the same name of the s-function file.
Is it correct?
Maybe you did something different?
thanks a lot
Paolo Boscariol