From my conversations with JZ and Leo, it seemed there was no package that generated the appropriate mex files. It was clear that the right ones weren't there from the absence of a /cvs/cds/caltech/apps/linux64/lib/matlab2010b directory. I'm sorry if I screwed anything up with pynds, but I have repeatedly asked for help with NDS2+matlab and no one has done anything.
It would be nice to do it via apt if there indeed is a versioned package that can make the mexs. Sorry again if I jumped the gun, but I didn't think anyone was going to do anything.
There is a package that provides the mex source, but it doesn't actually provide the mex binaries. The problem is that the binary depends on the matlab version, so you can't possibly provide binaries for every version.
The solution is to just build the binaries from the source package. We should put together a nice script that builds the binaries from the source, and installs them in the directory of your choosing. If we get something nice working, we can probably get them to include it with the package, to make it easier in the future.
Here's what's included in the source package:
controls@pianosa:~ 0$ sudo apt-get install nds2-client-matlab
controls@pianosa:~ 0$ dpkg -L nds2-client-matlab | sort