Search found 16 matches

by orhirshfeld
Tue Apr 28, 2015 6:57 am
Forum: Tracking Tools
Topic: Tracking Tools access violation exception
Replies: 6
Views: 11880

Re: Tracking Tools access violation exception

I have similar problem when using Matlab with Tracking Tools or Motive first i tried using LoadLib and CallLib and get errors Than i tried using C Mex file and got also an error so i debug it using Visual Studio and got the following message Unhandled exception at 0x000007FEDBEEFD1D (NPTrackingTools...
by orhirshfeld
Mon Apr 27, 2015 11:55 pm
Forum: Motive
Topic: compile .C file Include library using mex - error LNK2019: u
Replies: 3
Views: 3921

Re: compile .C file Include library using mex - error LNK201

Steven, thank you for the response I succed solving the problem by renaming the file extnsion to CPP so it compile C++ First i tried to run it with NPTrackingTools.LIB using the following compiler code: mex -v test_C_compile_with_include_trackingtools.cpp -I"D:\or hirshfeld\onedrive\work contro...
by orhirshfeld
Sun Apr 26, 2015 2:52 pm
Forum: Motive
Topic: compile .C file Include library using mex - error LNK2019: u
Replies: 3
Views: 3921

compile .C file Include library using mex - error LNK2019: u

Hello I'm trying to build simple C function with external commands provide by library NPTrackingTools API #include <stdio.h> #include "mex.h" #include "NPTrackingTools.h" void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) { int ret1,ret2,ret3; ret1=TT_In...
by orhirshfeld
Sun Apr 26, 2015 2:43 pm
Forum: OptiTrack Data Streaming
Topic: Motive (NatNet) interface to Simulink using Optitrack Camera
Replies: 5
Views: 7871

Re: Motive (NatNet) interface to Simulink using Optitrack Ca

I found a solution that work well by Raphael Cherfan
http://www.mathworks.com/matlabcentral/ ... iveexample

but it still not working in external mode so i'm trying now to get it done with C-Mex S-function
https://github.com/orhirshfeld/Motive-S-function
by orhirshfeld
Sun Apr 26, 2015 1:51 pm
Forum: Motive
Topic: interface between Simulink and Motive with API (not NatNet)
Replies: 2
Views: 2489

Re: interface between Simulink and Motive with API (not NatN

Thank you for the help
I succeed connecting using simulink, my project is in GitHub and MatlabCentral
http://www.mathworks.com/matlabcentral/ ... -hirshfeld
by orhirshfeld
Sun Nov 23, 2014 4:25 am
Forum: Motive
Topic: interface between Simulink and Motive with API (not NatNet)
Replies: 2
Views: 2489

interface between Simulink and Motive with API (not NatNet)

Hello I'm trying to interface between Simulink and Motive I'm having trouble to do it with NatNet and I wish to try solve it with Motive API as i did it before for Tracking Tools however I didn't find any information regarding the Motive API Where I can find which commands available and which dll's ...
by orhirshfeld
Tue Oct 07, 2014 11:21 pm
Forum: OptiTrack Data Streaming
Topic: Motive (NatNet) interface to Simulink using Optitrack Camera
Replies: 5
Views: 7871

Re: Motive (NatNet) interface to Simulink using Optitrack Ca

Thank you for your respone
But i double check the location
And also when i run the code in Matlab workspace and not simulink it's works fine.

Or Hirshfeld
אור הירשפלד
by orhirshfeld
Mon Oct 06, 2014 7:25 am
Forum: OptiTrack Data Streaming
Topic: Motive (NatNet) interface to Simulink using Optitrack Camera
Replies: 5
Views: 7871

Motive (NatNet) interface to Simulink using Optitrack Camera

I need to create interface between Simulink to Motive I already succeed to interface between Matlab and Motive through NatNet, I reviewed the sample available with NatNet SDK to do so but I'm having trouble to migrate it to Simulink, I tried using Matlab function block unsuccessfully, it's have prob...