Is there any way to allocate an arbitrary data structures (such as buffers, structures, etc) inside of an M-file S-function and save references to them using some kind of PWork vectors?
I know it is simple in C language, but we need to use a number of complex data structures in M-file...