Level-2 MATLAB S-Function to get the data from Optitrack To Simulink

1 回表示 (過去 30 日間)
Shivam Bajpai
Shivam Bajpai 2023 年 1 月 19 日
回答済み: Mark McBroom 2023 年 1 月 25 日
Hello, everyone,
I am working on Path tracking Algorithm. Regarding this, I am using Optitrack Motion Capturing System and Simulink. I am planning to use Level-2 MATLAB S-Function to get the data from Optitrack to simulink. Can someone please help me how can I do it in details.
Regards
Shivam

回答 (1 件)

Mark McBroom
Mark McBroom 2023 年 1 月 25 日
It looks like the API for this device is C++ https://www.optitrack.com/software/camera-sdk/ You will need to write a C++ SFunction or use the C Function block to make the proper C++ calls https://www.mathworks.com/help/simulink/ug/interface-with-c-classes-using-c-function-block.html
Thanks.
Mark.

カテゴリ

Help Center および File ExchangeSimulink Functions についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by