Matlab crashes on calllib

8 次查看(过去 30 天)
Ahmed Rehan
Ahmed Rehan 2021-11-6
回答: Sarthak 2024-4-26
Hello,
I am running a code of Dynamxel Motor. It uses built-in libraries of C created by the manufacturers (so i might not read or modify them) located here. When I execute the following, the Matlab exits all of a sudden with no error, or warning:
VALUE = calllib(lib_name, 'portHandler', DEVICE_NAME)
Will appreciate any help, thanks alot..
AR
  1 个评论
Junjie Lv
Junjie Lv 2023-7-20
Have you solve the issue ? i also meet with this problem when calling Nimotion's Nim_init(const char* strSdkPath) function, it just crashes repeatedly. Why does MATLAB crash when I make a function call on a DLL in MATLAB 7.6 (R2008a)? - MATLAB Answers - MATLAB Central (mathworks.com) does not work for this issue

请先登录,再进行评论。

回答(1 个)

Sarthak
Sarthak 2024-4-26

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by