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

1 回表示 (過去 30 日間)
Madison Mitchell
Madison Mitchell 2017 年 11 月 27 日
回答済み: Vishwas 2017 年 12 月 6 日
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 Center および File ExchangeRobotics についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by