Skip to content
Brian Wandell edited this page Aug 27, 2024 · 8 revisions

mrMesh has a client and server component. The pnet program communicates between the client and server. The pnet file needs to be compiled to run on your platform (intel or Apple silicon or whatever you are using).

The location of the files that need to be compiled are in the mrMesh subdirectory of vistasoft. They are specifically in the tcpToolbox directory. A number of these have already been compiled, and your system may have a compiled file there.

The instructions for the mex compile (Matlab) are in the header of pnet.c. Here is a look

image

On August 27, 2024 Wandell used mex -O pnet.c to generate the mex file for Apple silicon. It generated 9 warnings, but did complete.

Warning from the compile

Clone this wiki locally