forums.naturalpoint.com

Discussion and Support for the OptiTrack, SmartNav and TrackIR brands by NaturalPoint

New MATLAB interface via NatNet 2.5

NatNet, VRPN, TrackD, and Plugins

by Seth Steiling » Thu Oct 24, 2013 4:24 pm

The latest release of our NatNet SDK features a new MATLAB .NET interface and sample program (MatNet.m) for live streaming markers, rigid bodies, or skeletons. The MatNet sample program works directly with MATLAB core, requiring no additional MATLAB modules.

Feel free to download the sample and post any questions in this forum thread.
Seth Steiling
 
Posts: 1366
Joined: Fri Jun 27, 2008 11:29 am
Location: Corvallis, Oregon

by BrainBehaviourLab » Tue Dec 10, 2013 10:42 am

Hi,
the NatNet support for Matlab looks great. Unfortunately it looks
like it has been compiled for 32-bit. This produces an error (see below) when calling NET.addAssembly from a 64-bit operating system (Windows 7) with Matlab 2013b (64-bit).
Would it be possible to provide 64-bit bindings?
regards
BBL

>> test = NET.addAssembly('X:\OptiTrack\Samples\bin\NatNetML.dll')
>>Message: Could not load file or assembly >>'file:///X:\Hardware\OptiTrack\Samples\bin\NatNetML.dll' or one of its
>>dependencies. An attempt was made to load a program with an incorrect >>format.
>>Source: mscorlib
>>HelpLink:
BrainBehaviourLab
 
Posts: 1
Joined: Tue Dec 10, 2013 10:35 am

by morgan » Tue Dec 10, 2013 2:11 pm

The NatNet 2.5 SDK ships with both 32 and 64 bit versions of the NatNet managed assembly (NatNetML.dll). You should be able to replace NatNetML.dll referenced assembly in the NatNet Matlab sample with the 64 bit version from the NatNet SDK (in folder .\lib\x64).

Morgan
morgan
NaturalPoint Employee
NaturalPoint Employee
 
Posts: 197
Joined: Tue Jun 24, 2008 2:01 pm
Location: Corvallis, OR, USA


Return to OptiTrack Data Streaming

cron