What does this code mean? calllib('phidget21', 'CPhidgetA​dvancedSer​vo_setEnga​ged', handle, 1, 0);

조회 수: 1 (최근 30일)
calllib('phidget21', 'CPhidgetAdvancedServo_setEngaged', handle, 1, 0);

답변 (1개)

Vishwas
Vishwas 2017년 12월 6일
"calllib" is used to call a function in shared library. In your case,
'phidget21' is the name of the shared library.
'CPhidgetAdvancedServo_setEngaged' is the name of the function inside that library
'handle, 1, 0' are arguments passed into that function.

카테고리

Help CenterFile Exchange에서 Robotics에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by